login
A137109
Numbers n such that n and the square of n use only the digits 2, 4, 8 and 9.
0
2, 22, 222, 288, 49898882, 499898882
OFFSET
1,1
COMMENTS
Generated with DrScheme
No additional terms up to 10^12. - Harvey P. Dale, Oct 11 2017
LINKS
EXAMPLE
499898882^2 = 249898892224849924
MATHEMATICA
With[{c={2, 4, 8, 9}}, Select[FromDigits/@Flatten[Table[Tuples[c, n], {n, 10}], 1], SubsetQ[c, IntegerDigits[#^2]]&]] (* Harvey P. Dale, Oct 11 2017 *)
CROSSREFS
Sequence in context: A336894 A037567 A174200 * A002276 A374665 A112893
KEYWORD
base,nonn,more
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved