OFFSET
0,1
COMMENTS
This is essentially the same g.f. as A151550 but with the n=0 term included.
LINKS
David Applegate, Omar E. Pol and N. J. A. Sloane, The Toothpick Sequence and Other Sequences from Cellular Automata, Congressus Numerantium, Vol. 206 (2010), 157-191. [There is a typo in Theorem 6: (13) should read u(n) = 4.3^(wt(n-1)-1) for n >= 2.]
N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
FORMULA
a(n) = Sum_{k>=0} 2^(wt(n+k)-k)*binomial(wt(n+k),k).
EXAMPLE
If written as a triangle, begins:
2;
4;
6, 6;
8, 14, 16, 10;
8, 14, 18, 20, 30, 44, 40, 18;
8, 14, 18, 20, 30, 44, 42, 28, 30, 46, 56, 70, 104, 128, 96, 34;
...
CROSSREFS
Equals limit of rows of triangle in A152968.
KEYWORD
nonn,tabf
AUTHOR
Omar E. Pol, May 02 2009
EXTENSIONS
Edited by N. J. A. Sloane, Jun 03 2009, Jul 14 2009
STATUS
approved