OFFSET
1,3
COMMENTS
Table T(n,k) = (n+k-1)^(n-1) n,k > 0 read by antidiagonals. - Boris Putievskiy, Dec 17 2012
T(n,k) = n^(k-1) is the number of rooted trees on [n] containing a rooted forest on [n] having k components (see Bona at p. 261). - Stefano Spezia, Apr 02 2026
REFERENCES
Miklos Bona, Introduction to Enumerative and Analytic Combinatorics, CRC Press, 2025, p. 261.
LINKS
Harvey P. Dale, Table of n, a(n) for n = 1..5000
Boris Putievskiy, Transformations Integer Sequences And Pairing Functions, arXiv:1212.2732 [math.CO], 2012.
FORMULA
As a linear array, the sequence is a(n) = A002024(n)^A002260(n) or a(n) = (t+1)^(n-t*(t+1)/2-1), where t=floor((-1+sqrt(8*n-7))/2). - Boris Putievskiy, Dec 17 2012
EXAMPLE
Triangle begins:
1;
1,2;
1,3,9;
1,4,16,64;
1,5,25,125,625;
1,6,36,216,1296,7776;
...
MATHEMATICA
Table[n^Range[0, n-1], {n, 10}]//Flatten (* Harvey P. Dale, Jan 27 2020 *)
PROG
(Python)
from math import isqrt, comb
def A076112(n): return (isqrt(n<<3)+1>>1)**(n-comb((m:=isqrt(k:=n<<1))+(k>m*(m+1)), 2)-1) # Chai Wah Wu, Jun 09 2025
CROSSREFS
KEYWORD
AUTHOR
Amarnath Murthy, Oct 09 2002
EXTENSIONS
More terms from Antonio G. Astudillo (afg_astudillo(AT)lycos.com), Apr 20 2003
STATUS
approved
