A035063 Numbers n such that 2^n does not contain the digit 8 (probably finite).
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
Crossrefs
Cf. similar sequences listed in A035064.
Programs
-
Magma
[n: n in [0..1000] | not 8 in Intseq(2^n) ]; // Vincenzo Librandi, May 06 2015
-
Mathematica
Select[Range[0, 50000], DigitCount[2^#, 10, 8]==0 &] (* Harvey P. Dale, Apr 12 2011 *)
Extensions
Initial 0 added and Mathematica code adapted by Vincenzo Librandi, May 06 2015
Comments