OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..44
EXAMPLE
a(5) = 1^4 * (1^3 +2^3) * (1^2 +3^2) * (1^1 +2^1 +4^1) * (1^0 +5^0) = 1 * 9 * 10 * 7 * 2 = 1260.
MAPLE
with(numtheory): s:=proc(n, k) local div: div:=divisors(n): sum(div[j]^k, j=1..tau(n)) end: a:=n->product(s(i, n-i), i=1..n): seq(a(n), n=1..14); # Emeric Deutsch, Jul 13 2005
MATHEMATICA
Table[Product[DivisorSigma[j, n-j], {j, 0, n-1}], {n, 30}] (* G. C. Greubel, Oct 18 2023 *)
PROG
(PARI) a(n) = prod(k=1, n, sigma(k, n-k)); \\ Michel Marcus, Aug 16 2019
(Magma)
A108639:= func< n | (&*[DivisorSigma(j, n-j): j in [0..n-1]]) >;
[A108639(n): n in [1..30]]; // G. C. Greubel, Oct 18 2023
(SageMath)
def A108640(n): return product(sigma(n-j, j) for j in range(n))
[A108640(n) for n in range(1, 31)] # G. C. Greubel, Oct 18 2023
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Jul 06 2005
EXTENSIONS
More terms from Emeric Deutsch, Jul 13 2005
STATUS
approved