|
%I
%S 1,1,2,3,2,3,5,5,2,3,5,5,5,8,10,7,2,3,5,5,5,8,10,7,5,8,10,10,13,18,17,
%T 9,2,3,5,5,5,8,10,7,5,8,10,10,13,18,17,9,5,8,10,10,13,18,17,12,13,18,
%U 20,23,31,35,26,11,2,3,5,5,5,8,10,7,5,8,10,10,13,18,17,9,5,8,10,10,13,18,17,12
%N a(0)=1, a(1)=1; a(2^i+j)=a(j)+a(j+1) for 0 <= j < 2^i.
%C Equals A118977 + A151702.
%H David Applegate, Omar E. Pol and N. J. A. Sloane, <a href="http://neilsloane.com/doc/tooth.pdf">The Toothpick Sequence and Other Sequences from Cellular Automata</a>
%H N. J. A. Sloane, <a href="http://neilsloane.com/doc/toothlist.html">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a>
%Y For the recurrence a(2^i+j) = C*a(j) + D*a(j+1), a(0) = A, a(1) = B for following values of (A B C D) see: (0 1 1 1) A118977, (1 0 1 1) A151702, (1 1 1 1) A151570, (1 2 1 1) A151571, (0 1 1 2) A151572, (1 0 1 2) A151703, (1 1 1 2) A151573, (1 2 1 2) A151574, (0 1 2 1) A160552, (1 0 2 1) A151704, (1 1 2 1) A151568, (1 2 2 1) A151569, (0 1 2 2) A151705, (1 0 2 2) A151706, (1 1 2 2) A151707, (1 2 2 2) A151708.
%K nonn
%O 0,3
%A _N. J. A. Sloane_, May 25 2009
|