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

A137006
Numbers k such that k and k^2 use only the digits 1, 2, 5, 6 and 9.
2
1, 5, 11, 15, 16, 25, 96, 125, 161, 511, 515, 516, 1119, 1125, 1515, 1619, 2261, 5125, 9619, 9961, 12296, 12511, 12515, 16215, 16296, 22619, 22925, 25525, 25596, 51211, 96211, 112515, 125125, 126211, 126969, 129215, 161125, 161219, 226961, 256169, 262925, 511969, 516296, 956619, 959961, 1119219, 1121125, 1126925, 1252965, 1261965, 1262125
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
126961261519525^2 = 16119161926629219511956225625.
MATHEMATICA
With[{c={1, 2, 5, 6, 9}}, Flatten[Table[FromDigits/@Select[ Tuples[c, n], SubsetQ[ c, IntegerDigits[FromDigits[#]^2]]&], {n, 7}]]] (* Harvey P. Dale, Nov 25 2014 *)
CROSSREFS
Sequence in context: A314002 A137004 A137005 * A137003 A314003 A314004
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved