A170854 a(0) = 0, a(1) = 1; a(2^i + j) = 3a(j) + 2a(j + 1) for 0 <= j < 2^i.
0, 1, 2, 7, 2, 7, 20, 25, 2, 7, 20, 25, 20, 61, 110, 79, 2, 7, 20, 25, 20, 61, 110, 79, 20, 61, 110, 115, 182, 403, 488, 241, 2, 7, 20, 25, 20, 61, 110, 79, 20, 61, 110, 115, 182, 403, 488, 241, 20, 61, 110, 115, 182, 403, 488, 277, 182, 403, 560, 709, 1352, 2185, 1946, 727, 2
Offset: 0
Keywords
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