OFFSET
1,2
COMMENTS
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..4096
FORMULA
a(p) = p+1, a(pq) = ((p+1)*(q+1))^2 for p, q = distinct primes.
EXAMPLE
For n=6 -> divisors d of 6: 1,2,3,6; corresponding values of sigma(d): 1,3,4,12; a(6) = Product of k = 1*3*4*12 = 144. For n=66 -> divisors d of 66: 1,2,3,6,11,22,33,66; corresponding values of sigma(d): 1,3,4,12,12,36,48,144; a(66) = Product of k = 1*3*4*12*36*48*144 = 35831808.
MATHEMATICA
Table[Times @@ Union[DivisorSigma[1, Divisors[n]]], {n, 100}] (* T. D. Noe, Feb 10 2012 *)
PROG
(PARI) a(n)=my(d=vecsort(apply(sigma, divisors(n)), , 8)); prod(i=2, #d, d[i]) \\ Charles R Greathouse IV, Feb 19 2013
CROSSREFS
KEYWORD
nonn
AUTHOR
Jaroslav Krizek, Feb 03 2012
STATUS
approved