OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
Jonathan Wellons, Table of n, a(n) for n = 1..1343
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
7074745752^2 = 50052027455442045504.
MATHEMATICA
Module[{c={0, 2, 4, 5, 7}, t}, t=FromDigits/@Tuples[c, 5]; Select[t, SubsetQ[c, IntegerDigits[ #^2]]&]] (* Requires Mathematica version 10 or later *) (* Harvey P. Dale, Dec 31 2016 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved