OFFSET
0,3
COMMENTS
Rules:
- If n is odd then each new toothpick must lie in vertical direction.
- If n is even then each new toothpick must lie in horizontal direction.
- Each exposed endpoint of the toothpicks of the old generation must be touched by the endpoints of two toothpicks of new generation.
The sequence gives the number of toothpicks after n stages. A183005 (the first differences) gives the number added at the n-th stage.
The structure is very similar to the structure of A139250 but the mechanism for the connection of toothpicks is different.
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. [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
FORMULA
We start at stage 0 with no toothpicks.
At stage 1, place a single toothpick of length 1 on a square grid, aligned with the y-axis, so a(1)=1. There are two exposed endpoints.
At stage 2, place 4 toothpicks in horizontal position: two new toothpicks touching each exposed endpoint, so a(2)=1+4=5. There are 4 exposed endpoints.
At stage 3, place 6 toothpicks in vertical position, so a(3)=5+6=11.
After 3 stages the toothpick structure has 2 squares and 4 exposed endpoints.
CROSSREFS
KEYWORD
nonn
AUTHOR
Omar E. Pol, Mar 27 2011
STATUS
approved