login
A136916
Numbers k such that k and k^2 use only the digits 0, 2, 5, 7 and 8.
1
0, 5, 50, 85, 500, 505, 755, 850, 2255, 5000, 5005, 5050, 5085, 7550, 7555, 8500, 8705, 8805, 22550, 22555, 50000, 50005, 50050, 50085, 50500, 50505, 50555, 50850, 72255, 75500, 75550, 75555, 85000, 85005, 87050, 88050, 225500, 225505, 225550, 225555, 228205, 500000, 500005, 500050, 500085, 500500, 500505, 500755, 500850, 505000, 505050, 505550
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
50502750505^2 = 2550527808570277755025.
MATHEMATICA
Module[{c={0, 2, 5, 7, 8}}, Select[FromDigits/@Tuples[c, 6], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, May 05 2020 *)
CROSSREFS
Sequence in context: A136887 A169964 A061474 * A204193 A136919 A136920
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved