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.

A082754 Triangle read by rows: T(n, k) = abs(n^k-k^n), 1<=k<=n.

This page as a plain text file.
%I A082754 #14 Aug 18 2025 00:09:37
%S A082754 0,1,0,2,1,0,3,0,17,0,4,7,118,399,0,5,28,513,2800,7849,0,6,79,1844,
%T A082754 13983,61318,162287,0,7,192,6049,61440,357857,1417472,3667649,0,8,431,
%U A082754 18954,255583,1894076,9546255,35570638,91171007,0,9,924,58049,1038576
%N A082754 Triangle read by rows: T(n, k) = abs(n^k-k^n), 1<=k<=n.
%C A082754 Aside from n = k, the only zero in this triangle corresponds to a(4, 2). - _Alonso del Arte_, Jul 09 2009
%e A082754 Triangle begins:
%e A082754   0
%e A082754   1 0
%e A082754   2 1 0
%e A082754   3 0 17 0
%e A082754   4 7 118 399 0
%e A082754   5 28 513 2800 7849 0
%e A082754   ...
%t A082754 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 *)
%Y A082754 Cf. A055651.
%K A082754 nonn,tabl
%O A082754 1,4
%A A082754 _Amarnath Murthy_, Apr 17 2003
%E A082754 More terms from _David Wasserman_, Oct 04 2004