OFFSET
1,2
COMMENTS
Denominator 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) = denominator of Sum_{d|n, gcd(d, n/d) = 1} 1/d.
a(n) = denominator of usigma(n)/n.
a(p) = p, where p is prime.
a(n) = n / A323166(n). - Antti Karttunen, Nov 13 2021
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-> denom(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}] // Denominator
Table[Sum[If[GCD[d, n/d] == 1, 1/d, 0], {d, Divisors[n]}], {n, 1, 70}] // Denominator
PROG
(PARI) a(n) = denominator(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