A035061 Numbers n such that 2^n does not contain the digit 6 (probably finite).
0, 1, 2, 3, 5, 7, 9, 10, 11, 13, 17, 19, 21, 22, 25, 27, 30, 33, 37, 39, 41, 45, 47, 53, 54, 57, 90, 93
Offset: 1
Crossrefs
Cf. similar sequences listed in A035064.
Programs
-
Magma
[n: n in [0..1000] | not 6 in Intseq(2^n) ]; // Vincenzo Librandi, May 07 2015
-
Mathematica
Join[{0}, Select[Range@10000, FreeQ[IntegerDigits[2^#], 6] &]] (* Vincenzo Librandi, May 07 2015 *)
Extensions
Initial 0 added by Vincenzo Librandi, May 07 2015