login
A127245
Row sums of a signed Thue-Morse related triangle.
2
1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1
OFFSET
0,1
COMMENTS
0's occur at positions indexed by the odious numbers given by A091855.
FORMULA
a(n) = A127246(n) mod 2.
a(n) = Sum_{k=0..n} ((-1)^(n-k) * Product_{j=0..n-k-1} A010060(n-j)).
MATHEMATICA
a[n_] := Mod[Sum[Product[ThueMorse[i], {i, k+1, n}], {k, 0, n}], 2]; Array[a, 100, 0] (* Amiram Eldar, Aug 04 2023 *)
CROSSREFS
Row sums of A127244.
Sequence in context: A260192 A057078 A204418 * A175192 A088150 A365938
KEYWORD
easy,nonn
AUTHOR
Paul Barry, Jan 10 2007
EXTENSIONS
More terms from Amiram Eldar, Aug 04 2023
STATUS
approved