login
A136825
Numbers k such that k and k^2 use only the digits 0, 1, 2, 5 and 8.
2
0, 1, 5, 10, 11, 15, 50, 100, 101, 105, 110, 150, 151, 285, 500, 501, 505, 1000, 1001, 1005, 1010, 1011, 1050, 1100, 1101, 1105, 1500, 1510, 1585, 2255, 2285, 2850, 2851, 2855, 5000, 5001, 5005, 5010, 5011, 5015, 5050, 10000, 10001, 10005, 10010, 10011, 10050, 10100, 10105, 10110, 10500, 11000, 11001, 11005, 11010, 11050, 11205, 12255, 15000, 15005
OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
508018515^2 = 258082811582805225.
MATHEMATICA
With[{c={0, 1, 2, 5, 8}}, Select[FromDigits/@Tuples[c, 5], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Oct 02 2021 *)
CROSSREFS
Sequence in context: A136811 A130228 A136826 * A136824 A136822 A189151
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved