|
|
A137109
|
|
Numbers n such that n and the square of n use only the digits 2, 4, 8 and 9.
|
|
0
|
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
Generated with DrScheme
|
|
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
|
|
|
KEYWORD
|
base,nonn,more
|
|
AUTHOR
|
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
|
|
STATUS
|
approved
|
|
|
|