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

A137005
Numbers k such that k and k^2 use only the digits 1, 2, 5, 6 and 8.
2
1, 5, 11, 15, 16, 25, 81, 125, 261, 285, 511, 515, 516, 816, 1125, 1285, 1585, 2261, 2285, 2581, 2585, 5125, 11211, 12511, 12515, 12581, 25525, 25615, 26125, 28615, 28665, 51211, 81125, 81585, 112166, 125125, 158816, 256615, 258125, 261125, 261881, 285515, 515615, 811516, 828665, 1118865, 1585125, 1681125, 2261125, 2285216, 5162515, 5185125
OFFSET
1,2
COMMENTS
Generated with DrScheme.
LINKS
J. Wellons, Tables of Shared Digits [archived]
EXAMPLE
828652861686516^2 = 686665565181252216515856218256.
MATHEMATICA
With[{c={1, 2, 5, 6, 8}}, Select[Flatten[Table[FromDigits/@Tuples[c, n], {n, 7}]], SubsetQ[c, IntegerDigits[#^2]]&]] (* Harvey P. Dale, Apr 16 2015 *)
CROSSREFS
Sequence in context: A213444 A314002 A137004 * A137006 A137003 A314003
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved