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”).

A082754
Triangle read by rows: T(n, k) = abs(n^k-k^n), 1<=k<=n.
2
0, 1, 0, 2, 1, 0, 3, 0, 17, 0, 4, 7, 118, 399, 0, 5, 28, 513, 2800, 7849, 0, 6, 79, 1844, 13983, 61318, 162287, 0, 7, 192, 6049, 61440, 357857, 1417472, 3667649, 0, 8, 431, 18954, 255583, 1894076, 9546255, 35570638, 91171007, 0, 9, 924, 58049, 1038576
OFFSET
1,4
COMMENTS
Aside from n = k, the only zero in this triangle corresponds to a(4, 2). [From Alonso del Arte, Jul 09 2009]
EXAMPLE
0
1 0
2 1 0
3 0 17 0
4 7 118 399 0
5 28 513 2800 7849 0
...
MATHEMATICA
a[n_, k_] := a[n, k] = n^k - k^n; ColumnForm[Table[Abs[a[n, k]], {n, 10}, {k, n}], Center] (* Alonso del Arte, Jul 09 2009 *)
CROSSREFS
Cf. A055651.
Sequence in context: A366548 A143714 A004172 * A063173 A120111 A130055
KEYWORD
nonn,tabl
AUTHOR
Amarnath Murthy, Apr 17 2003
EXTENSIONS
More terms from David Wasserman, Oct 04 2004
STATUS
approved