login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A091884
Triangle of numbers defined by Knuth.
2
1, 1, 1, 4, 3, 3, 27, 19, 20, 20, 256, 175, 191, 190, 190, 3125, 2101, 2344, 2312, 2313, 2313, 46656, 31031, 35127, 34398, 34462, 34461, 34461, 823543, 543607, 621732, 605348, 607535, 607407, 607408, 607408, 16777216, 11012415, 12692031, 12301406, 12366942, 12360381, 12360637, 12360636, 12360636
OFFSET
0,4
REFERENCES
D. E. Knuth, The Art of Computer Programming. Addison-Wesley, Reading, MA, Vol. 3, Sect 6.4 Answer to Exer. 46.
J. Riordan, Combinatorial Identities, Wiley, 1968, p. 101.
LINKS
FORMULA
T(n,k) = Sum_{j=0..k} (-1)^j * (n-j)^n.
EXAMPLE
Triangle begins:
1;
1, 1;
4, 3, 3;
27, 19, 20, 20;
256, 175, 191, 190, 190;
3125, 2101, 2344, 2312, 2313, 2313;
...
PROG
(PARI) T(n, k)=if(k<0 || k>n, 0, sum(j=0, k, (-1)^j*(n-j)^n))
CROSSREFS
Column k=0..1 give A000312, A045531.
Main diagonal gives A120485.
Sequence in context: A370574 A309046 A007568 * A255257 A306769 A336031
KEYWORD
nonn,tabl
AUTHOR
Michael Somos, Feb 08 2004
STATUS
approved