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”).

A136905
Numbers k such that k and k^2 use only the digits 0, 2, 4, 6 and 9.
1
0, 2, 20, 64, 200, 264, 492, 640, 964, 2000, 2064, 2640, 4902, 4920, 4992, 6400, 9640, 20000, 20602, 20640, 20992, 24992, 26400, 49020, 49200, 49902, 49920, 49992, 64000, 96400, 200000, 206020, 206400, 209920, 209992, 222402, 246962, 249920, 249992, 264000, 490200, 492000, 494262, 494462, 494662, 499002, 499020, 499200, 499902, 499920, 499992
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
49642929029462^2 = 2464420402624200949264009444.
MATHEMATICA
With[{c={0, 2, 4, 6, 9}}, Select[FromDigits/@Tuples[c, 6], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Sep 21 2017 *)
CROSSREFS
Sequence in context: A133217 A001504 A192351 * A230644 A183907 A216609
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved