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.

A244137 Triangle read by rows: terms T(n,k) of a binomial decomposition of n^n as Sum(k=0..n)T(n,k).

Original entry on oeis.org

1, 0, 1, 0, 2, 2, 0, 12, 6, 9, 0, 108, 48, 36, 64, 0, 1280, 540, 360, 320, 625, 0, 18750, 7680, 4860, 3840, 3750, 7776, 0, 326592, 131250, 80640, 60480, 52500, 54432, 117649, 0, 6588344, 2612736, 1575000, 1146880, 945000, 870912, 941192, 2097152
Offset: 0

Views

Author

Stanislav Sykora, Jun 22 2014

Keywords

Comments

T(n,k)=(k)^(k-1)*(n-k)^(n-k)*binomial(n,k) for k>0, while T(n,0)=0^n by convention.
There are many binomial decompositions of n^n, some with all terms positive like this one (see A243203). However, for every n, the terms corresponding to k=1..n in this one are exceptionally similar in value (at least on log scale).

Examples

			First rows of the triangle, all summing up to n^n:
1,
0, 1,
0, 2, 2,
0, 12, 6, 9,
0, 108, 48, 36, 64,
0, 1280, 540, 360, 320, 625,
		

Crossrefs

Programs

  • PARI
    seq(nmax, b)={my(v, n, k, irow);
    v = vector((nmax+1)*(nmax+2)/2); v[1]=1;
    for(n=1, nmax, irow=1+n*(n+1)/2; v[irow]=0;
      for(k=1, n, v[irow+k]=(-k*b)^(k-1)*(n+k*b)^(n-k)*binomial(n, k); ); );
    return(v); }
    a=seq(100,-1);