%I #16 Oct 04 2024 20:51:01
%S 1,0,0,1,1,0,0,1,1,0,1,2,1,0,0,1,1,0,1,2,1,0,1,2,1,1,3,3,1,0,0,1,1,0,
%T 1,2,1,0,1,2,1,1,3,3,1,0,1,2,1,1,3,3,1,1,3,3,2,4,6,4,1,0,0,1,1,0,1,2,
%U 1,0,1,2,1,1,3,3,1,0,1,2,1,1,3,3,1,1,3,3,2,4,6,4,1,0,1,2,1,1,3,3,1,1,3,3,2
%N G.f.: Product_{k>=2} (1 + x^(2^k-1) + x^(2^k)).
%H David Applegate, Omar E. Pol and N. J. A. Sloane, <a href="/A000695/a000695_1.pdf">The Toothpick Sequence and Other Sequences from Cellular Automata</a>, 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.]
%H N. J. A. Sloane, <a href="/wiki/Catalog_of_Toothpick_and_CA_Sequences_in_OEIS">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a>
%e From _Omar E. Pol_, Jun 09 2009: (Start)
%e Triangle begins:
%e 1;
%e 0,0;
%e 1,1,0,0;
%e 1,1,0,1,2,1,0,0;
%e 1,1,0,1,2,1,0,1,2,1,1,3,3,1,0,0;
%e 1,1,0,1,2,1,0,1,2,1,1,3,3,1,0,1,2,1,1,3,3,1,1,3,3,2,4,6,4,1,0,0;
%e 1,1,0,1,2,1,0,1,2,1,1,3,3,1,0,1,2,1,1,3,3,1,1,3,3,2,4,6,4,1,0,1,2,1,1,3,3,...
%e (End)
%Y For generating functions of the form Product_{k>=c} (1 + a*x^(2^k-1) + b*x^2^k) for the following values of (a,b,c) see: (1,1,0) A160573, (1,1,1) A151552, (1,1,2) A151692, (2,1,0) A151685, (2,1,1) A151691, (1,2,0) A151688 and A152980, (1,2,1) A151550, (2,2,0) A151693, (2,2,1) A151694.
%Y Cf. A160573, A151552.
%Y Cf. A000079. - _Omar E. Pol_, Jun 09 2009
%K nonn
%O 0,12
%A _N. J. A. Sloane_, Jun 04 2009