A187210 Q-toothpick sequence (see Comments for precise definition).
0, 1, 5, 12, 24, 46, 66, 88, 128, 182, 222, 244, 284, 338, 394, 464, 584, 718, 790, 812, 852, 906, 962, 1032, 1152, 1286, 1374, 1444, 1564, 1714, 1882, 2128, 2488, 2814, 2950, 2972, 3012, 3066, 3122, 3192, 3312, 3446, 3534, 3604, 3724, 3874, 4042, 4288, 4648, 4974, 5126, 5196, 5316, 5466, 5634, 5880, 6240, 6582, 6814, 7060, 7436, 7890, 8458, 9296, 10328
Offset: 0
Keywords
Examples
From _Omar E. Pol_, Apr 02 2016: (Start) Examples that are related to the toothpick sequence A139250 (see the first formula): For n = 5 we have that A139250(5-2) = 7, A267698(5-2) = 13, A267694(5-1) = 16 and m = 3, so a(5) = 2*7 + 13 + 16 + 3 = 46. For n = 6 we have that A139250(6-2) = 11, A267698(6-2) = 25, A267694(6-1) = 20 and m = -1, so a(6) = 2*11 + 25 + 20 - 1 = 66. (End) From _Omar E. Pol_, Sep 13 2016: (Start) Examples that are related to the Gullwing sequence A187220 (see the second formula): For n = 5 we have that A187220(5-1) = 15, A267698(5-2) = 13, A267694(5-1) = 16 and m = 2, so a(5) = 15 + 13 + 16 + 2 = 46. For n = 6 we have that A187220(6-1) = 23, A267698(6-2) = 25, A267694(6-1) = 20 and m = -2, so a(6) = 23 + 25 + 20 - 2 = 66. (End)
References
- A. Adamatzky and G. J. Martinez, Designing Beauty: The Art of Cellular Automata, Springer, 2016, pages 59, 62 (note that the Q-toothpick cellular automaton is erroneously attributed to Nathaniel Johnston).
Links
- Nathaniel Johnston, Table of n, a(n) for n = 0..177
- 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.]
- Elisabet Edvardsson and Eva Mossberg, The Q-toothpick Cellular Automaton, Journal of Cellular Automata, Vol. 14, Issue 1-2, (2019), p. 51-68.
- Nathaniel Johnston, Animation of first 19 generations
- Nathaniel Johnston, Illustration of a(5) = 46, "Front Matter" 2015. The College Mathematics Journal 46 (1). Mathematical Association of America: 1-1. doi:10.4169/college.math.j.46.1.fm.
- Nathaniel Johnston, The Q-Toothpick Cellular Automaton
- Nathaniel Johnston, The Q-Toothpick post in ConwayLife.com
- Omar E. Pol, Illustration of initial terms
- N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
- Index entries for sequences related to cellular automata
- Index entries for sequences related to toothpick sequences
Crossrefs
Formula
a(0)=0; a(1)=1; a(n) = 2*A139250(n-2) + A267698(n-2) + A267694(n-1) + m, where m = 3 if 2 <= n <= 5 and m = -1 if n>=6 (note that 2*A139250(n-2) can be replaced with A160164(n-2)). - Omar E. Pol, Jan 23 2016
a(n) = A187220(n-1) + A267698(n-2) + A267694(n-1) + m, where m = 2 if 2 <= n <= 5 and m = -2 if n >= 6. - Omar E. Pol, Sep 13 2016
Extensions
Terms a(8) and beyond from Nathaniel Johnston, Mar 26 2011
Comments edited by Omar E. Pol, Mar 28 2011
Second rule clarified by Omar E. Pol, Apr 06 2011
Comments