OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
Jonathan Wellons, Table of n, a(n) for n = 1..1295
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
756706725^2 = 572605067660225625.
MATHEMATICA
Select[FromDigits/@Tuples[{0, 2, 5, 6, 7}, 5], And@@Table[MemberQ[{0, 2, 5, 6, 7}, n], {n, IntegerDigits[#^2]}]&] (* Harvey P. Dale, Nov 19 2013 *)
With[{c={0, 2, 5, 6, 7}}, Select[FromDigits/@Tuples[c, 5], SubsetQ[c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Mar 14 2023 *)
CROSSREFS
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved
