|
|
A137007
|
|
Numbers k such that k and k^2 use only the digits 1, 2, 5 and 7.
|
|
1
|
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Generated with DrScheme.
No additional terms up to and including 7,777,777,777. - Harvey P. Dale, Sep 04 2018
|
|
LINKS
|
|
|
EXAMPLE
|
715^2 = 511225.
|
|
MATHEMATICA
|
Module[{nn=10, c={1, 2, 5, 7}}, Select[Flatten[Table[FromDigits/@Tuples[c, n], {n, nn}]], SubsetQ[c, IntegerDigits[#^2]]&]] (* Harvey P. Dale, Sep 04 2018 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn,changed
|
|
AUTHOR
|
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
|
|
STATUS
|
approved
|
|
|
|