OFFSET
0,3
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
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
MAPLE
A[0]:= 1:A[1]:= 0:
for d from 1 to 7 do
for j from 0 to 2^d-1 do
A[2^d+j]:= 2*A[j]+3*A[j+1]
od od:
seq(A[i], i=0..2^8-1); # Robert Israel, Mar 22 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Jan 02 2010
STATUS
approved