OFFSET
1,2
COMMENTS
Numerator of sum of reciprocals of unitary divisors of n.
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..20000
Eric Weisstein's World of Mathematics, Unitary Divisor.
FORMULA
a(n) = numerator of Sum_{d|n, gcd(d, n/d) = 1} 1/d.
a(n) = numerator of usigma(n)/n.
a(p) = p + 1, where p is prime.
Asymptotic mean: Limit_{m->oo} (1/m) * Sum_{k=1..m} a(k)/A332883(k) = zeta(2)/zeta(3) = 1.368432... (A306633). - Amiram Eldar, Nov 21 2022
EXAMPLE
1, 3/2, 4/3, 5/4, 6/5, 2, 8/7, 9/8, 10/9, 9/5, 12/11, 5/3, 14/13, 12/7, 8/5, 17/16, ...
MAPLE
a:= n-> numer(mul(1+i[1]^i[2], i=ifactors(n)[2])/n):
seq(a(n), n=1..80); # Alois P. Heinz, Feb 28 2020
MATHEMATICA
Table[If[n == 1, 1, Times @@ (1 + 1/#[[1]]^#[[2]] & /@ FactorInteger[n])], {n, 1, 70}] // Numerator
Table[Sum[If[GCD[d, n/d] == 1, 1/d, 0], {d, Divisors[n]}], {n, 1, 70}] // Numerator
PROG
(PARI) a(n) = numerator(sumdiv(n, d, if (gcd(d, n/d)==1, 1/d))); \\ Michel Marcus, Feb 28 2020
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Ilya Gutkovskiy, Feb 28 2020
STATUS
approved