A164362 The number of 0's in the n-th stage of A164349.
1, 2, 3, 6, 11, 21, 42, 83, 166, 331, 661, 1322, 2643, 5285, 10569, 21138, 42275, 84550, 169099, 338197, 676394, 1352787, 2705573, 5411146, 10822291, 21644582, 43289163, 86578325, 173156650, 346313299, 692626597, 1385253193, 2770506386, 5541012771, 11082025542
Offset: 1
Keywords
Examples
01 -> 010 -> 01001 -> 010010100 -> 01001010001001010 etc. So the number of 0's in the n-th stage is the sequence 1, 2, 3, 6, 11 etc.
Links
- Paul Tek, Table of n, a(n) for n = 1..3323
- Paul Tek, PERL program for this sequence
Programs
-
Mathematica
t = Nest[ Most@ Flatten@ {#, #} &, {0, 1}, 25]; Table[ Count[ Take[t, 2^n + 1], 0], {n, 0, 25}] (* Robert G. Wilson v, Aug 17 2009 *)
Formula
Extensions
a(23)-a(26) from Robert G. Wilson v, Aug 17 2009
Comments