login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A268982
a(n) is the denominator of Sum_{d|n} sigma(n/d)^d/d, where sigma is A000203.
3
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 2, 15, 16, 17, 9, 19, 20, 7, 22, 23, 24, 25, 26, 27, 28, 29, 6, 31, 32, 33, 34, 35, 18, 37, 38, 1, 40, 41, 6, 43, 44, 9, 46, 47, 16, 49, 25, 51, 52, 53, 27, 55, 56, 19, 58, 59, 60, 61, 62, 21, 64, 65, 66, 67, 68, 69
OFFSET
1,2
COMMENTS
If n is prime, a(n) = n.
a(n) is a divisor of n. How often is it < n? - Chai Wah Wu, Oct 02 2017
EXAMPLE
sigma(1)^6/6 + sigma(2)^3/3 + sigma(3)^2/2 + sigma(6)^1/1 = 1/6 + 9 + 8 + 12 = 175/6. a(6) = denominator(175/6) = 6.
MAPLE
a := proc (n) options operator, arrow; add(numtheory:-sigma(n/d)^d/d, d in numtheory:-divisors(n)) end proc:
seq(denom(a(n)), n = 1 .. 100);
MATHEMATICA
Table[Denominator@ Sum[DivisorSigma[1, n/d]^d/d, {d, Divisors@ n}], {n, 69}] (* Michael De Vlieger, Feb 19 2016 *)
PROG
(PARI) a(n) = denominator(sumdiv(n, d, sigma(n/d)^d/d)); \\ Michel Marcus, Feb 17 2016
(Python)
from __future__ import division
from sympy import divisors, divisor_sigma, gcd
def A268982(n):
return n//gcd(n, sum(d*divisor_sigma(d)**(n//d) for d in divisors(n, generator=True))) # Chai Wah Wu, Oct 02 2017
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Gevorg Hmayakyan, Feb 16 2016
STATUS
approved