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

A136872
Numbers k such that k and k^2 use only the digits 0, 1, 5, 7 and 8.
1
0, 1, 10, 100, 1000, 10000, 100000, 877501, 1000000, 1008751, 8775010, 10000000, 10007751, 10087510, 87750100, 100000000, 100077510, 100507751, 100875100, 877501000, 1000000000, 1000775100, 1005077510, 1008751000, 1008815501, 8775010000, 10000000000, 10007751000, 10050775100, 10050775501, 10087510000, 10088155010, 10870057751, 87071818501, 87750100000
OFFSET
1,3
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
870517087810501^2 = 757800000170075508718085871001.
MATHEMATICA
With[{c={0, 1, 5, 7, 8}}, Select[FromDigits/@Tuples[c, 11], SubsetQ[c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Sep 13 2019 *)
CROSSREFS
Sequence in context: A029795 A136844 A136842 * A119084 A136875 A135654
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
EXTENSIONS
More terms from Harvey P. Dale, Sep 13 2019
STATUS
approved