login
A127246
Row sums of a Thue-Morse related triangle.
2
1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 1, 1, 2, 3, 1, 1, 2, 1, 2, 3, 1, 2, 1, 1, 2, 1, 2, 3, 1, 1, 2, 3, 1, 2, 1, 1, 2, 1, 2, 3, 1, 2, 1, 1
OFFSET
0,2
FORMULA
a(n) = Sum_{k=0..n} Product_{j=0..n-k-1} A010060(n-j).
MATHEMATICA
a[n_] := Sum[Product[ThueMorse[i], {i, k+1, n}], {k, 0, n}]; Array[a, 100, 0] (* Amiram Eldar, Aug 04 2023 *)
CROSSREFS
Row sums of A127247.
Cf. A010060.
Sequence in context: A338263 A322874 A091654 * A106038 A078711 A338850
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 10 2007
EXTENSIONS
More terms from Amiram Eldar, Aug 04 2023
STATUS
approved