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

A136917
Numbers k such that k and k^2 use only the digits 0, 2, 5, 7 and 9.
1
0, 5, 27, 50, 77, 95, 270, 500, 505, 527, 755, 770, 950, 995, 2700, 2755, 5000, 5005, 5027, 5050, 5077, 5095, 5205, 5270, 7227, 7550, 7700, 9500, 9950, 9995, 22577, 27000, 27005, 27550, 50000, 50005, 50027, 50050, 50077, 50095, 50270, 50500, 50505, 50527, 50705, 50770, 50950, 52050, 52700, 72270, 75500, 77000, 77005, 95000, 95005, 97505, 99500
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
52527097505^2 = 2759095972299777225025.
MATHEMATICA
With[{c={0, 2, 5, 7, 9}, digs=5}, Select[FromDigits/@Tuples[ c, digs], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Sep 29 2018 *)
CROSSREFS
Sequence in context: A058490 A299578 A308829 * A181890 A048712 A121876
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved