This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A183126 #34 Nov 02 2022 11:54:38 %S A183126 0,1,7,23,39,79,95,135,175,287,303,343,383,495,535,647,759,1087,1103, %T A183126 1143,1183,1295,1335,1447,1559,1887,1927,2039,2151,2479,2591,2919, %U A183126 3247,4223,4239,4279,4319,4431,4471,4583,4695 %N A183126 Toothpick sequence with toothpicks connected by their endpoints. %C A183126 On the infinite square grid we start with no toothpicks. %C A183126 At stage 1 we place a single toothpick of length 1. %C A183126 Rule: each exposed endpoint of the toothpicks of the old generation must be touched by the endpoints of three toothpicks of new generation. %C A183126 The sequence gives the number of toothpicks after n stages. A183127 gives the number of toothpicks added at the n-th stage. %H A183126 Michael De Vlieger, <a href="/A183126/b183126.txt">Table of n, a(n) for n = 0..1000</a> %H A183126 David Applegate, Omar E. Pol and N. J. A. Sloane, <a href="/A000695/a000695_1.pdf">The Toothpick Sequence and Other Sequences from Cellular Automata</a>, 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.] %H A183126 Hsien-Kuei Hwang, Svante Janson, and Tsung-Hsi Tsai, <a href="https://arxiv.org/abs/2210.10968">Identities and periodic oscillations of divide-and-conquer recurrences splitting at half</a>, arXiv:2210.10968 [cs.DS], 2022, p. 31. %H A183126 John W. Layman, <a href="https://personal.math.vt.edu/layman/sequences/A183126.htm">Graphs of the toothpick configuration for generations 1-15</a> %H A183126 N. J. A. Sloane, <a href="/wiki/Catalog_of_Toothpick_and_CA_Sequences_in_OEIS">Catalog of Toothpick and Cellular Automata Sequences in the OEIS</a> %F A183126 From _Nathaniel Johnston_, Apr 06 2011: (Start) %F A183126 a(n) = 7 + 4*(n-2 + Sum_{k=1..n-2}3^A000120(k)), n >= 2. %F A183126 a(n) = 7 + 4*(n-2 + 3*A151920(n-3)), n >= 3. %F A183126 a(1 + 2^n) = 2^(n+2)+4^(n+1)-1, n >= 0. %F A183126 (End) %t A183126 a[n_] := 7 + 4 (n - 2 + Sum[3^DigitCount[k, 2, 1], {k, n - 2}]); a[0] = 0; a[1] = 1; Array[a, 41, 0] (* _Michael De Vlieger_, Nov 02 2022 *) %Y A183126 Cf. A139250, A160172, A160410, A183004, A183127, A183148. %K A183126 nonn %O A183126 0,3 %A A183126 _Omar E. Pol_, Mar 28 2011 %E A183126 Terms a(0)-a(10) confirmed and terms a(11)-a(35) added by _John W. Layman_, Mar 30 2011 %E A183126 a(36)-a(40) from _Nathaniel Johnston_, Apr 06 2011