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.

Showing 1-4 of 4 results.

A132610 Triangle T, read by rows, where row n+1 of T = row n of matrix power T^(2n) with appended '1' for n>=0 with T(0,0)=1.

Original entry on oeis.org

1, 1, 1, 2, 1, 1, 14, 4, 1, 1, 194, 39, 6, 1, 1, 4114, 648, 76, 8, 1, 1, 118042, 15465, 1510, 125, 10, 1, 1, 4274612, 483240, 41121, 2908, 186, 12, 1, 1, 186932958, 18685905, 1424178, 89670, 4970, 259, 14, 1, 1, 9577713250, 861282832, 59857416, 3437248, 171700, 7824, 344, 16, 1, 1
Offset: 0

Views

Author

Paul D. Hanna, Aug 23 2007

Keywords

Examples

			Triangle begins:
1;
1, 1;
2, 1, 1;
14, 4, 1, 1;
194, 39, 6, 1, 1;
4114, 648, 76, 8, 1, 1;
118042, 15465, 1510, 125, 10, 1, 1;
4274612, 483240, 41121, 2908, 186, 12, 1, 1;
186932958, 18685905, 1424178, 89670, 4970, 259, 14, 1, 1; ...
GENERATE T FROM EVEN MATRIX POWERS OF T.
Matrix square T^2 begins:
1;
2, 1; <-- row 2 of T
5, 2, 1;
34, 9, 2, 1;
453, 88, 13, 2, 1; ...
where row 2 of T = row 1 of T^2 with appended '1'.
Matrix fourth powers T^4 begins:
1;
4, 1;
14, 4, 1; <-- row 3 of T
96, 22, 4, 1;
1215, 220, 30, 4, 1; ...
where row 3 of T = row 2 of T^4 with appended '1'.
Matrix sixth power T^6 begins:
1;
6, 1;
27, 6, 1;
194, 39, 6, 1; <-- row 4 of T
2394, 404, 51, 6, 1; ...
where row 4 of T = row 3 of T^6 with appended '1'.
ALTERNATE GENERATING METHOD.
Start with [1,0,0,0]; take partial sums and append 1 zero;
take partial sums twice more:
(1), 0, 0, 0;
1, 1, 1, (1), 0;
1, 2, 3, 4, (4);
1, 3, 6, 10, (14);
the final nonzero terms form row 3: [14,4,1,1].
Start with [1,0,0,0,0,0]; take partial sums and append 3 zeros;
take partial sums and append 1 zero; take partial sums twice more:
(1), 0, 0, 0, 0, 0;
1, 1, 1, 1, 1, (1), 0, 0, 0;
1, 2, 3, 4, 5, 6, 6, 6, (6), 0;
1, 3, 6, 10, 15, 21, 27, 33, 39, (39);
1, 4, 10, 20, 35, 56, 83, 116, 155, (194);
the final nonzero terms form row 4: [194,39,6,1,1].
Continuing in this way produces all the rows of this triangle.
		

Crossrefs

Cf. columns: A132611, A132612, A132613; A132614; variants: A132615, A101479.

Programs

  • Maple
    b:= proc(n) option remember;
          Matrix(n, (i,j)-> T(i-1,j-1))^(2*n-2)
        end:
    T:= proc(n,k) option remember;
         `if`(n=k, 1, `if`(k>n, 0, b(n)[n,k+1]))
        end:
    seq(seq(T(n,k), k=0..n), n=0..10);  # Alois P. Heinz, Apr 13 2020
  • Mathematica
    b[n_] := b[n] = MatrixPower[Table[T[i-1, j-1], {i, n}, {j, n}], 2n-2];
    T[n_, k_] := T[n, k] = If[n == k, 1, If[k > n, 0, b[n][[n, k+1]]]];
    Table[T[n, k], {n, 0, 10}, {k, 0, n}] // Flatten (* Jean-François Alcover, Apr 27 2020, after Alois P. Heinz *)
  • PARI
    {T(n, k)=local(A=vector(n+1), p); A[1]=1; for(j=1, n-k-1, p=(n-1)^2-(n-j-1)^2; A=Vec((Polrev(A)+x*O(x^p))/(1-x))); A=Vec((Polrev(A)+x*O(x^p))/(1-x)); A[p+1]}
    for(n=0,10, for(k=0,n, print1(T(n,k),", "));print(""))

Formula

T(n+1,1) is divisible by n for n>=1.

A132611 Column 0 of triangle A132610.

Original entry on oeis.org

1, 1, 2, 14, 194, 4114, 118042, 4274612, 186932958, 9577713250, 562450162646, 37232881004442, 2742420824107648, 222414345991567630, 19691735781407563460, 1889658596054736522248, 195353325211864635176182, 21643625444562045727620930
Offset: 0

Views

Author

Paul D. Hanna, Aug 23 2007

Keywords

Comments

Triangle T=A132610 is generated by even matrix powers of itself such that row n+1 of T = row n of T^(2n) with appended '1' for n>=0 with T(0,0)=1.

Crossrefs

Cf. A132610 (triangle); other columns: A132612, A132613; A132614.

Programs

  • PARI
    {a(n)=local(k=0,A=vector(n+1), p); A[1]=1; for(j=1, n-k-1, p=(n-1)^2-(n-j-1)^2; A=Vec((Polrev(A)+x*O(x^p))/(1-x))); A=Vec((Polrev(A)+x*O(x^p))/(1-x)); A[p+1]}
    for(n=0,25,print1(a(n),", "))
    
  • PARI
    {a(n)=local(A=[1]);for(i=1,n,A=Vec(Ser(A)/(1-x)^(2*(#A)-3));A=concat(A,A[#A]));A[#A]}
    for(n=0,25,print1(a(n),", "))

A132612 Column 1 of triangle A132610.

Original entry on oeis.org

1, 1, 4, 39, 648, 15465, 483240, 18685905, 861282832, 46085893011, 2807152825020, 191731595897600, 14510053796849640, 1205013817282706730, 108941005329522201360, 10650027832902977866245, 1119401271751383414197280, 125879457463215695125460535
Offset: 0

Views

Author

Paul D. Hanna, Aug 23 2007

Keywords

Comments

Triangle T=A132610 is generated by even matrix powers of itself such that row n+1 of T = row n of T^(2n) with appended '1' for n>=0 with T(0,0)=1.

Crossrefs

Cf. A132610 (triangle); other columns: A132611, A132613; A132614.
Cf. A304192.

Programs

  • PARI
    {a(n)=local(A=vector(n+2), p); A[1]=1; for(j=1, n-1, p=n^2-(n-j)^2; A=Vec((Polrev(A)+x*O(x^p))/(1-x))); A=Vec((Polrev(A)+x*O(x^p))/(1-x)); A[p+1]}
    for(n=0,25,print1(a(n),", "))
    
  • PARI
    {a(n)=local(A=[1]);for(i=1,n,A=Vec(Ser(A)/(1-x)^(2*(#A)-1));A=concat(A,A[#A]));A[#A]}
    for(n=0,25,print1(a(n),", "))

Formula

a(n) is divisible by n for n>0; a(n)/n = A132614(n).
a(n) = [x^(n-1)] (1+x)^(n*(n+1)) / F(x) for n>0, where F(x) is the g.f. of A304192.

A132613 Column 2 of triangle A132610.

Original entry on oeis.org

1, 1, 6, 76, 1510, 41121, 1424178, 59857416, 2957282370, 167852629965, 10757980606208, 768190770422700, 60461731639747100, 5199414726620992073, 484974399630368105130, 48763257278485285019472
Offset: 0

Views

Author

Paul D. Hanna, Aug 23 2007

Keywords

Comments

Triangle T=A132610 is generated by even matrix powers of itself such that row n+1 of T = row n of T^(2n) with appended '1' for n>=0 with T(0,0)=1.

Crossrefs

Cf. A132610 (triangle); other columns: A132611, A132612; A132614.

Programs

  • PARI
    {a(n)=local(A=vector(n+3), p); A[1]=1; for(j=1, n-1, p=(n+1)^2-(n-j+1)^2; A=Vec((Polrev(A)+x*O(x^p))/(1-x))); A=Vec((Polrev(A)+x*O(x^p))/(1-x)); A[p+1]}
Showing 1-4 of 4 results.