OFFSET
0,2
COMMENTS
Also the number of terms in n-th string (starting from n=3) when representing A000002 as a tree. Each branch of this tree is a string. Starting from n=3, each 1 in n-th string generates either 1 or 2 in (n+1)-th string and each 2 in n-th string generates either 11 or 22 in (n+1)-th string based on the previously generated term of either 2 or 1. Hence, the number of terms in (n+1)-th string is the sum of all terms in n-th string. - Rakesh Khanna A, May 24 2020
LINKS
Rakesh Khanna A, Table of n, a(n) for n = 0..59
FORMULA
a(0) + a(1) + ... + a(n) = A042942(n+2) - 1.
MATHEMATICA
l = { (*terms in A042942*) }; For[i = 2, i <= Length[l], i++, Print[l[[i]] - l[[i - 1]]]]
CROSSREFS
KEYWORD
nonn
AUTHOR
Benoit Cloitre, Oct 16 2005
EXTENSIONS
More terms from and offset changed to 0 by Jinyuan Wang, Apr 03 2020
STATUS
approved