OFFSET
0,3
COMMENTS
More precisely, a(n)=sum(i<n, A159913(i)), since we want the sequence to start with a(0)=0 and not with A159913(0)=1.
a(n) is also the total number of ON cells after n generations in the outward corner version of the Ulam-Warburton cellular automaton of A147562, and a(n) is also the total number of Y-toothpicks after n generations in the outward corner version of the Y-toothpick structure of A160120. - David Applegate and Omar E. Pol, Jan 24 2016
LINKS
Paolo Xausa, Table of n, a(n) for n = 0..10000
David Applegate, The movie version
Hsien-Kuei Hwang, Svante Janson, and Tsung-Hsi Tsai, Identities and periodic oscillations of divide-and-conquer recurrences splitting at half, arXiv:2210.10968 [cs.DS], 2022, pp. 6, 30.
N. J. A. Sloane, Catalog of Toothpick and Cellular Automata Sequences in the OEIS
FORMULA
MATHEMATICA
Accumulate@ Table[2^(DigitCount[n, 2][[1]] + 1) - 1, {n, 0, 54}] (* Michael De Vlieger, Jan 25 2016 *)
PROG
(PARI) A159912(n)=sum(i=0, n-1, 1<<norml2(binary(i)))*2-n
KEYWORD
nonn
AUTHOR
M. F. Hasler, May 03 2009
STATUS
approved