login
A360726
Expansion of Sum_{k>0} (k * x * (1 + x^k))^k.
3
1, 5, 27, 264, 3125, 46741, 823543, 16778240, 387420570, 10000015625, 285311670611, 8916100729755, 302875106592253, 11112006831322817, 437893890380890625, 18446744073843770368, 827240261886336764177, 39346408075300025059665
OFFSET
1,2
LINKS
FORMULA
a(n) = Sum_{d|n} d^d * binomial(d,n/d-1).
If p is an odd prime, a(p) = p^p.
MATHEMATICA
a[n_] := DivisorSum[n, #^# * Binomial[#, n/# - 1] &]; Array[a, 20] (* Amiram Eldar, Aug 02 2023 *)
PROG
(PARI) my(N=20, x='x+O('x^N)); Vec(sum(k=1, N, (k*x*(1+x^k))^k))
(PARI) a(n) = sumdiv(n, d, d^d*binomial(d, n/d-1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Feb 18 2023
STATUS
approved