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

A136958
Numbers k such that k and k^2 use only the digits 0, 4, 7 and 8.
0
0, 88, 878, 880, 8780, 8800, 87800, 88000, 878000, 880000, 8780000, 8800000, 87800000, 88000000, 878000000, 880000000, 8780000000, 8800000000, 87800000000, 88000000000, 878000000000, 880000000000, 8780000000000, 8800000000000, 87800000000000, 88000000000000, 878000000000000, 880000000000000
OFFSET
1,2
COMMENTS
Generated with DrScheme.
Conjectures: (1) the digit 4 never appears in the terms of the sequence (although it does appear in the digits of the squares of the terms of the sequence), and (2) all nonzero terms are of the form 88 * 10^m or 878 * 10^m. - Harvey P. Dale, Oct 24 2020
EXAMPLE
878^2 = 770884.
MATHEMATICA
With[{c={0, 4, 7, 8}}, Select[FromDigits/@Tuples[c, 15], SubsetQ[ c, IntegerDigits[ #^2]]&]] (* Harvey P. Dale, Oct 24 2020 *)
CROSSREFS
Sequence in context: A072432 A136951 A136933 * A137049 A157730 A055749
KEYWORD
base,nonn
AUTHOR
Jonathan Wellons (wellons(AT)gmail.com), Jan 22 2008
STATUS
approved