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.

A217629 Triangle, read by rows, where T(n,k) = k!*C(n, k)*3^(n-k) for n>=0, k=0..n.

Original entry on oeis.org

1, 3, 1, 9, 6, 2, 27, 27, 18, 6, 81, 108, 108, 72, 24, 243, 405, 540, 540, 360, 120, 729, 1458, 2430, 3240, 3240, 2160, 720, 2187, 5103, 10206, 17010, 22680, 22680, 15120, 5040, 6561, 17496, 40824, 81648, 136080, 181440, 181440, 120960, 40320
Offset: 0

Views

Author

Vincenzo Librandi, Nov 10 2012

Keywords

Comments

Triangle formed by the derivatives of x^n evaluated at x=3.
Sum(T(n,k), k=0..n) = A053486(n) (see the Formula section of A053486). Also:
first column: A000244;
second column: A027471;
third column: 2*A027472;
fourth column: 6*A036216;
fifth column: 24*A036217.

Examples

			Triangle begins:
1;
3,     1;
9,     6,     2;
27,    27,    18,     6;
81,    108,   108,    72,     24;
243,   405,   540,    540,    360,    120;
729,   1458,  2430,   3240,   3240,   2160,    720;
2187,  5103,  10206,  17010,  22680,  22680,   15120,   5040;
6561,  17496, 40824,  81648,  136080, 181440,  181440,  120960,  40320; etc.
		

Crossrefs

Programs

  • Magma
    [Factorial(n)/Factorial(n-k)*3^(n-k): k in [0..n], n in [0..10]];
  • Mathematica
    Flatten[Table[n!/(n-k)!*3^(n-k), {n, 0, 10}, {k, 0, n}]]

Formula

T(n,k) = 3^(n-k)*n!/(n-k)! for n>=0, k=0..n.
E.g.f. (by columns): exp(3x)*x^k.