0,4

Note that if n > 1 is a power of 2 then a(n) = n^2 - 2n.

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

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(2^k) = A211012(k). - Omar E. Pol, Sep 25 2012

Cf. A139250, A139251, A159787, A159788, A159789, A159796.

Sequence in context: A273395 A273456 A014198 * A083744 A255992 A273572

Adjacent sequences: A159783 A159784 A159785 * A159787 A159788 A159789

nonn

Omar E. Pol, Apr 28 2009

More terms from Omar E. Pol, Sep 25 2012

approved