login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A136910
Numbers k such that k and k^2 use only the digits 0, 2 and 5.
1
0, 5, 50, 500, 505, 5000, 5005, 5050, 50000, 50005, 50050, 50500, 500000, 500005, 500050, 500500, 500505, 505000, 5000000, 5000005, 5000050, 5000500, 5000505, 5005000, 5005050, 5050000, 5050005, 50000000, 50000005, 50000050, 50000500, 50000505, 50005000, 50005005, 50005050, 50050000, 50050500, 50500000, 50500005, 50500050, 500000000
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
505000500500005^2 = 255025505505255550255005000025.
MATHEMATICA
Select[FromDigits/@Tuples[{0, 2, 5}, 9], SubsetQ[{0, 2, 5}, IntegerDigits[ #^2]]&] (* Harvey P. Dale, May 30 2019 *)
CROSSREFS
Sequence in context: A299868 A136915 A136918 * A267663 A093143 A346937
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved