OFFSET
1,2
COMMENTS
sigma(n) = sum of divisors of n: A000203 (also called sigma_1(n)).
LINKS
FORMULA
EXAMPLE
a(8) = 24 because sigma(8) = 15 and the sum of the 4 odd divisors { 1, 3, 5, 15} is 24.
MATHEMATICA
Table[Total[Select[Divisors[DivisorSigma[1, n]], OddQ[ # ]&]], {n, 60}]
PROG
(PARI) a(n) = sumdiv(sigma(n), d, (d%2)*d); \\ Michel Marcus, Jan 14 2014
CROSSREFS
KEYWORD
nonn
AUTHOR
Michel Lagneau, Jul 23 2011
EXTENSIONS
More terms from Antti Karttunen, Nov 18 2017
STATUS
approved