The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A120919 Cascadence of (1+x)^3; a triangle, read by rows of 3n+1 terms, that retains its original form upon convolving each row with [1,3,3,1] and then letting excess terms spill over from each row into the initial positions of the next row such that only 3n+1 terms remain in row n for n>=0. 6
1, 3, 3, 1, 3, 12, 19, 18, 15, 10, 3, 12, 55, 111, 138, 128, 96, 66, 55, 39, 12, 55, 276, 636, 930, 1005, 876, 669, 498, 360, 263, 240, 177, 55, 276, 1464, 3666, 5979, 7317, 7242, 6138, 4737, 3506, 2607, 2046, 1569, 1212, 1170, 883, 276, 1464, 8058, 21369, 37716 (list; table; graph; refs; listen; history; text; internal format)
OFFSET
0,2
LINKS
FORMULA
G.f.: A(x,y) = ( x*H(x) - y*H(x*y^3) )/( x*(1+y)^3 - y ), where H(x) satisfies: H(x) = G*H(x^4*G^3) and G(x) is g.f. of A001764: G(x) = 1 + x*G(x)^3.
EXAMPLE
Triangle begins:
1;
3, 3, 1, 3;
12, 19, 18, 15, 10, 3, 12;
55, 111, 138, 128, 96, 66, 55, 39, 12, 55;
276, 636, 930, 1005, 876, 669, 498, 360, 263, 240, 177, 55, 276;
Convolution of [1,3,3,1] with each row produces:
[1,3,3,1]*[1] = [1,3,3,1];
[1,3,3,1]*[3,3,1,3] = [3,12,19,18,15,10,3];
[1,3,3,1]*[12,19,18,15,10,3,12] = [12,55,111,138,128,96,66,55,39,12];
[1,3,3,1]*[55,111,138,128,96,66,55,39,12,55] =
[55,276,636,930,1005,876,669,498,360,263,240,177,55];
These convoluted rows, when concatenated, yield the sequence:
1,3,3,1, 3,12,19,18,15,10,3, 12,55,111,138,128,96,66,55,39,12, 55,...
which equals the concatenated rows of this original triangle:
1, 3,3,1,3, 12,19,18,15,10,3,12, 55,111,138,128,96,66,55,39,12,55, ...
MATHEMATICA
T[n_, k_] := T[n, k] = If[3*n < k || k < 0, 0, If[n == 0 && k == 0, 1, If[k == 3*n, T[n, 0], T[n - 1, k + 1] + 3*T[n - 1, k] + 3*T[n - 1, k - 1] + T[n - 1, k - 2]]]];
Table[T[n, k], {n, 0, 10}, {k, 0, 3 n}] // Flatten (* Jean-François Alcover, Jan 24 2018, translated from PARI *)
PROG
(PARI) /* Generate Triangle by the Recurrence: */
{T(n, k)=if(3*n<k || k<0, 0, if(n==0 && k==0, 1, if(k==3*n, T(n, 0), T(n-1, k+1)+3*T(n-1, k)+3*T(n-1, k-1)+T(n-1, k-2))))}
for(n=0, 10, for(k=0, 3*n, print1(T(n, k), ", ")); print(""))
(PARI) /* Generate Triangle by the G.F.: */
{T(n, k)=local(A, F=(1+x)^3, d=3, G=x, H=1+x, S=ceil(log(n+1)/log(d+1))); for(i=0, n, G=x*subst(F, x, G+x*O(x^n))); for(i=0, S, H=subst(H, x, x*G^d+x*O(x^n))*G/x); A=(x*H-y*subst(H, x, x*y^d +x*O(x^n)))/(x*subst(F, x, y)-y); polcoeff(polcoeff(A, n, x), k, y)}
for(n=0, 10, for(k=0, 3*n, print1(T(n, k), ", ")); print(""))
CROSSREFS
Cf. A120920 (column 0), A120922 (central terms), A120923 (row sums), A001764 (ternary trees); variants: A092683, A092686, A120894, A120898, A120919.
Sequence in context: A202252 A261633 A277103 * A032240 A366556 A275625
KEYWORD
nonn,tabl
AUTHOR
Paul D. Hanna, Jul 17 2006
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 17 12:26 EDT 2024. Contains 372600 sequences. (Running on oeis4.)