login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A136897
Numbers k such that k and k^2 use only the digits 0, 2, 4 and 5.
1
0, 2, 5, 20, 45, 50, 200, 205, 450, 500, 502, 505, 2000, 2005, 2050, 2245, 4500, 5000, 5002, 5005, 5020, 5045, 5050, 20000, 20005, 20050, 20500, 20505, 22450, 45000, 45005, 50000, 50002, 50005, 50020, 50045, 50050, 50200, 50205, 50450, 50500, 50502, 200000, 200005, 200050, 200500, 200505, 205000, 205050, 224500, 450000, 450005, 450045, 450050
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
505524500450^2 = 255555020555222050202500.
MATHEMATICA
Module[{c={0, 2, 4, 5}}, Select[FromDigits/@Tuples[c, 6], SubsetQ[c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Jul 30 2015 *)
CROSSREFS
Sequence in context: A136899 A136882 A136901 * A098510 A168541 A124264
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved