|
|
A137096
|
|
Numbers k such that k and k^2 use only the digits 2, 4, 5, 6 and 9.
|
|
1
|
|
|
2, 5, 25, 65, 264, 665, 962, 964, 4925, 6665, 22262, 22925, 66665, 96242, 222925, 256242, 494262, 494462, 499262, 499525, 544662, 544665, 666665, 996465, 2225465, 2226262, 2644665, 4946662, 4946665, 4956465, 4969462, 4994262, 4994592, 4995264, 4995565, 4996465, 4996925, 4996962, 5442662, 6524262, 6655565, 6666665, 9962242, 22946662
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Generated with DrScheme.
|
|
LINKS
|
|
|
EXAMPLE
|
652642494956465^2 = 425942226222999442962245296225.
|
|
MATHEMATICA
|
With[{c={2, 4, 5, 6, 9}}, Select[Flatten[Table[FromDigits/@Tuples[c, {n}], {n, 8}]], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Mar 06 2024 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
|
|
STATUS
|
approved
|
|
|
|