A160173 Number of T-toothpicks added at n-th stage to the T-toothpick structure of A160172.
0, 1, 3, 5, 9, 9, 9, 13, 25, 21, 9, 13, 25, 25, 25, 37, 73, 57, 9, 13, 25, 25, 25, 37, 73, 61, 25, 37, 73, 73, 73, 109, 217, 165, 9, 13, 25, 25, 25, 37, 73, 61, 25, 37, 73, 73, 73, 109, 217, 169, 25, 37, 73, 73, 73, 109, 217, 181, 73, 109, 217, 217, 217, 325, 649, 489, 9, 13, 25
Offset: 0
Keywords
Examples
From _Omar E. Pol_, Feb 09 2010: (Start) If written as a triangle: 0; 1; 3; 5; 9,9; 9,13,25,21; 9,13,25,25,25,37,73,57; 9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,165; 9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,169,25,37,73,73,73,109,217,181,73,109,217,217,217,325,649,489; 9,13,25,25,25,37,73,61,25,37,73,73,73,109,217,169,25,37,73,73,73,109... (End)
References
- 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
Links
- David Applegate, The movie version
- 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.], which is also available at arXiv:1004.3036v2
- N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
- Index entries for sequences related to toothpick sequences
Programs
-
Mathematica
wt[n_] := DigitCount[n, 2, 1]; a[0] = 0; a[1] = 1; a[2] = 3; a[n_] := 2/3 (3^wt[n-1] + 3^wt[n-2]) + 1; Table[a[n], {n, 0, 68}] (* Jean-François Alcover, Aug 18 2018, after N. J. A. Sloane *)
Formula
a(n) = (2/3)*(3^wt(n-1) + 3^wt(n-2))+1 (where wt is A000120), for n >= 3. - N. J. A. Sloane, Jan 01 2010
Extensions
More terms from N. J. A. Sloane, Jan 01 2010
Comments