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

A035063
Numbers n such that 2^n does not contain the digit 8 (probably finite).
1
0, 1, 2, 4, 5, 6, 8, 9, 10, 12, 16, 17, 18, 21, 22, 24, 25, 32, 40, 41, 49, 52, 53, 56, 73, 78
OFFSET
1,3
COMMENTS
No additional terms up to 50000. [Harvey P. Dale, Apr 12 2011]
MATHEMATICA
Select[Range[0, 50000], DigitCount[2^#, 10, 8]==0 &] (* Harvey P. Dale, Apr 12 2011 *)
PROG
(Magma) [n: n in [0..1000] | not 8 in Intseq(2^n) ]; // Vincenzo Librandi, May 06 2015
CROSSREFS
Cf. similar sequences listed in A035064.
Sequence in context: A141820 A267137 A095775 * A004128 A023717 A324639
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Nov 15 1998
EXTENSIONS
Initial 0 added and Mathematica code adapted by Vincenzo Librandi, May 06 2015
STATUS
approved