A378556 Powers of 2 that do not include the digit 2.
1, 4, 8, 16, 64, 4096, 16384, 65536, 1048576, 4194304, 8388608, 67108864, 17179869184, 34359738368, 68719476736, 549755813888, 4398046511104, 70368744177664, 18014398509481984, 18446744073709551616, 18889465931478580854784, 9671406556917033397649408, 374144419156711147060143317175368453031918731001856
Offset: 1
Programs
-
Mathematica
Select[2^Range[0,100000],Not[MemberQ[IntegerDigits[#],2]]&]
Formula
a(n) = 2^A034293(n).
Comments