cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A127249 A product of Thue-Morse related triangles.

This page as a plain text file.
%I A127249 #9 Aug 04 2023 04:35:26
%S A127249 1,2,1,2,2,1,0,0,0,1,0,0,0,2,1,0,0,0,0,0,1,0,0,0,0,0,0,1,0,0,0,0,0,0,
%T A127249 2,1,0,0,0,0,0,0,2,2,1,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,1,0,0,
%U A127249 0,0,0,0,0,0,0,0,2,1,0,0,0,0,0,0,0,0,0,0,0,0,1
%N A127249 A product of Thue-Morse related triangles.
%e A127249 Triangle begins:
%e A127249   1;
%e A127249   2, 1;
%e A127249   2, 2, 1;
%e A127249   0, 0, 0, 1;
%e A127249   0, 0, 0, 2, 1;
%e A127249   0, 0, 0, 0, 0, 1;
%e A127249   0, 0, 0, 0, 0, 0, 1;
%e A127249   0, 0, 0, 0, 0, 0, 2, 1;
%e A127249   0, 0, 0, 0, 0, 0, 2, 2, 1;
%e A127249   0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
%e A127249   0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1;
%e A127249   ...
%t A127249 T1[n_, k_] := SeriesCoefficient[(1 + ThueMorse[1 + k]*x)*x^k, {x, 0, n}]; (* A127243 *)
%t A127249 T2[n_, k_] := Product[ThueMorse[i], {i, k + 1, n}]; (* A127247 *)
%t A127249 T[n_, k_] := Sum[T2[n, j]*T1[j, k], {j, 0, n}];
%t A127249 Table[T[n, k], {n, 0, 12}, {k, 0, n}] // Flatten (* _Amiram Eldar_, Aug 04 2023 *)
%Y A127249 Product of A127243 with A127247.
%Y A127249 Inverse A127251 is given by (-1)^(n+k)T(n,k).
%K A127249 easy,nonn,tabl
%O A127249 0,2
%A A127249 _Paul Barry_, Jan 10 2007
%E A127249 More terms from _Amiram Eldar_, Aug 04 2023