0,8

Table of n, a(n) for n=0..101.

David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata

N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS

a(n) = a(1) = 0; for k >= 1, a(2^k) = 2^(k-1)-1, a(2^k+i) = 2*a(i) for 1 <= i < 2^k.

Cf. A160125, A175098, A175099.

Sequence in context: A078332 A097109 * A175099 A151867 A262563 A170843

Adjacent sequences: A160015 A160016 A160017 * A160019 A160020 A160021

nonn

N. J. A. Sloane, Feb 07 2010

approved