login
A136898
Numbers k such that k and k^2 use only the digits 0, 2, 4, 5 and 6.
1
0, 2, 5, 20, 25, 45, 50, 65, 200, 205, 225, 245, 250, 255, 450, 500, 502, 505, 650, 665, 2000, 2005, 2050, 2065, 2242, 2245, 2250, 2450, 2500, 2502, 2550, 4500, 5000, 5002, 5005, 5020, 5025, 5045, 5050, 5065, 6500, 6650, 6665, 20000, 20005, 20050, 20065, 20500, 20505, 20602, 20605, 20650, 22420, 22450, 22500, 24500, 24605, 25000, 25005, 25020, 25025
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
506204065^2 = 256242555422524225.
MATHEMATICA
With[{c={0, 2, 4, 5, 6}}, Select[FromDigits/@Tuples[c, 5], SubsetQ[c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, May 12 2018 *)
CROSSREFS
Sequence in context: A059079 A177494 A136900 * A077138 A247131 A192164
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved