OFFSET
1,3
COMMENTS
The product at n = 2 is the noninteger 1.5. The product at n = 10 is the noninteger 18427.5. Jack Brennen's observed that the only values which are not integers occur when n = 2 or 10, for n < 5000. Are all products for n >= 11 integers?
No other nonintegers found up to 200000. - Michel Marcus, Sep 14 2015
No other nonintegers up to 3000000. - Robert Israel, Jan 22 2018
LINKS
Robert Israel, Table of n, a(n) for n = 1..558
FORMULA
Product_{k=1..n} sigma(k)/d(k) = Product_{p=primes} Product_{k>=1} ((p^(k+1)-1)*k/((p^k -1)(k+1)))^floor(n/p^k).
EXAMPLE
a(4) = 1 * 3 * 4 * 7 /(1 * 2 * 2 * 3) = 7.
MAPLE
p:= 1: A[1]:= 1:
for n from 2 to 50 do
p:= p * numtheory:-sigma(n)/numtheory:-tau(n);
if p::integer then A[n]:= p else A[n]:= 0 fi
od:
seq(A[n], n=1..50); # Robert Israel, Jan 22 2018
MATHEMATICA
Table[If[IntegerQ[Product[DivisorSigma[1, k]/Length[Divisors[k]], {k, 1, n}]], Product[DivisorSigma[1, k]/Length[Divisors[k]], {k, 1, n}], 0], {n, 1, 30}] (* Stefan Steinerberger, Oct 24 2007 *)
PROG
(PARI) a(n) = my(q = prod(k=1, n, sigma(k)/numdiv(k))); if (denominator(q)==1, q, 0); \\ Michel Marcus, Sep 14 2015
CROSSREFS
KEYWORD
nonn
AUTHOR
Leroy Quet, Aug 22 2005
EXTENSIONS
More terms from Stefan Steinerberger, Oct 24 2007
STATUS
approved