login
A183127
Number of toothpicks added at n-th stage to the toothpick structure of A183126.
2
0, 1, 6, 16, 16, 40, 16, 40, 40, 112, 16, 40, 40, 112, 40, 112, 112, 328, 16, 40, 40, 112, 40, 112, 112, 328, 40, 112, 112, 328, 112, 328, 328, 976, 16, 40, 40, 112, 40, 112, 112, 328, 40, 112, 112, 328, 112, 328, 328, 976, 40, 112, 112, 328, 112, 328, 328, 976
OFFSET
0,3
COMMENTS
Essentially the first differences of A183126.
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
FORMULA
a(n) = 4*(1 + 3^A000120(n-2)), n >= 3. - Nathaniel Johnston, Apr 06 2011
MATHEMATICA
a[n_] := 4*(1 + 3^DigitCount[n-2, 2, 1]); a[0] = 0; a[1] = 1; a[2] = 6; Array[a, 100, 0] (* Amiram Eldar, Aug 01 2023 *)
KEYWORD
nonn
AUTHOR
Omar E. Pol, Mar 28 2011
EXTENSIONS
a(0)-a(10) confirmed and a(11)-a(35) added by John W. Layman, Mar 30 2011
a(36)-a(47) from Nathaniel Johnston, Apr 06 2011
More terms from Amiram Eldar, Aug 01 2023
STATUS
approved