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.

Previous Showing 11-13 of 13 results.

A113085 Number of 3-tournament sequences: a(n) gives the number of increasing sequences of n positive integers (t_1,t_2,...,t_n) such that t_1 = 1 and t_i = 1 (mod 2) and t_{i+1} <= 3*t_i for 1

Original entry on oeis.org

1, 1, 3, 21, 331, 11973, 1030091, 218626341, 118038692523, 166013096151621, 619176055256353291, 6207997057962300681573, 169117528577725378851523691, 12626174170113987651028630856581, 2602022118010488151483064379958957003
Offset: 0

Views

Author

Paul D. Hanna, Oct 14 2005

Keywords

Comments

Equals column 0 of triangle A113084, which satisfies: A113084(n,k) = [A113084^3](n-1,k-1) + [A113084^3](n-1,k).

Examples

			The tree of 3-tournament sequences of odd integer
descendents of a node labeled (1) begins:
[1]; generation 1: 1->[3]; generation 2: 3->[5,7,9];
generation 3: 5->[7,9,11,13,15], 7->[9,11,13,15,17,19,21],
9->[11,13,15,17,19,21,23,25,27]; ...
Then a(n) gives the number of nodes in generation n.
Also, a(n+1) = sum of labels of nodes in generation n.
		

Crossrefs

Programs

  • PARI
    {a(n)=local(M=matrix(n+1,n+1));for(r=1,n+1, for(c=1,r, M[r,c]=if(r==c,1,if(c>1,(M^3)[r-1,c-1])+(M^3)[r-1,c]))); return(M[n+1,1])}

A113103 Square table T, read by antidiagonals, where T(n,k) gives the number of n-th generation descendents of a node labeled (k) in the tree of 5-tournament sequences.

Original entry on oeis.org

1, 0, 1, 0, 1, 1, 0, 5, 2, 1, 0, 85, 16, 3, 1, 0, 4985, 440, 33, 4, 1, 0, 1082905, 43600, 1251, 56, 5, 1, 0, 930005021, 16698560, 173505, 2704, 85, 6, 1, 0, 3306859233805, 26098464448, 94216515, 481376, 4985, 120, 7, 1, 0, 50220281721033905
Offset: 0

Views

Author

Paul D. Hanna, Oct 14 2005

Keywords

Comments

A 5-tournament sequence is an increasing sequence of positive integers (t_1,t_2,...) such that t_1 = p, t_i = p (mod 4) and t_{i+1} <= 5*t_i, where p>=1. This is the table of 5-tournament sequences when the starting node has label p = k for column k>=1.

Examples

			Table begins:
1,1,1,1,1,1,1,1,1,1,1,1,1,...
0,1,2,3,4,5,6,7,8,9,10,11,...
0,5,16,33,56,85,120,161,208,261,320,...
0,85,440,1251,2704,4985,8280,12775,18656,26109,...
0,4985,43600,173505,481376,1082905,2122800,3774785,6241600,...
0,1082905,16698560,94216515,337587520,930005021,2156566656,...
0,930005021,26098464448,210576669921,978162377600,...
0,3306859233805,172513149018752,2002383115518243,...
0,50220281721033905,4938593053649344000,82856383278525698433,...
		

Crossrefs

Cf. A113106, A113107 (column 1), A113109 (column 2), A113111 (column 3), A113113 (column 4); Tables: A093729 (2-tournaments), A113081 (3-tournaments), A113092 (4-tournaments).

Programs

  • PARI
    /* Generalized Cook-Kleber Recurrence */
    {T(n,k,q=5)=if(n==0,1,if(n<0||k<=0,0,if(n==1,k, if(n>=k,sum(j=1,k,T(n-1,k+(q-1)*j)), sum(j=1,n+1,(-1)^(j-1)*binomial(n+1,j)*T(n,k-j))))))}
    for(n=0,10,for(k=0,10,print1(T(n,k),", "));print(""))
    
  • PARI
    /* Matrix Power Recurrence (Paul D. Hanna) */
    {T(n,k,q=5)=local(M=matrix(n+1,n+1));for(r=1,n+1, for(c=1,r, M[r,c]=if(r==c,1,if(c>1,(M^q)[r-1,c-1])+(M^q)[r-1,c]))); (M^k)[n+1,1]}
    for(n=0,10,for(k=0,10,print1(T(n,k),", "));print(""))

Formula

For n>=k>0: T(n, k) = Sum_{j=1..k} T(n-1, k+4*j); else for k>n>0: T(n, k) = Sum_{j=1..n+1}(-1)^(j-1)*C(n+1, j)*T(n, k-j); with T(0, k)=1 for k>=0. Column k of T equals column 0 of the matrix k-th power of triangle A113106, which satisfies the matrix recurrence: A113106(n, k) = [A113106^5](n-1, k-1) + [A113106^5](n-1, k) for n>k>=0.

A113114 Triangle T, read by rows, equal to the matrix 5th power of triangle A113106, which satisfies the recurrence: A113106(n,k) = [A113106^5](n-1,k-1) + [A113106^5](n-1,k).

Original entry on oeis.org

1, 5, 1, 85, 30, 1, 4985, 2435, 155, 1, 1082905, 662060, 61310, 780, 1, 930005021, 671754405, 80861810, 1528810, 3905, 1, 3306859233805, 2718081933706, 399334065655, 9987138060, 38169435, 19530, 1, 50220281721033905
Offset: 0

Views

Author

Paul D. Hanna, Oct 14 2005

Keywords

Comments

Column 0 equals A113107 shift one place left.

Examples

			Triangle begins:
1;
5,1;
85,30,1;
4985,2435,155,1;
1082905,662060,61310,780,1;
930005021,671754405,80861810,1528810,3905,1;
3306859233805,2718081933706,399334065655,9987138060,38169435,19530,1;
		

Crossrefs

Programs

  • PARI
    {T(n,k)=local(M=matrix(n+1,n+1));for(r=1,n+1, for(c=1,r, M[r,c]=if(r==c,1,if(c>1,(M^5)[r-1,c-1])+(M^5)[r-1,c]))); return((M^5)[n+1,k+1])}
Previous Showing 11-13 of 13 results.