OFFSET
1,2
LINKS
Antti Karttunen, Table of n, a(n) for n = 1..16384
FORMULA
a(n) = A074400(2n) - 2n. - Michel Marcus, Jan 14 2014
a(n) = Sum_{d|2n, d<2n, d even} d. - Wesley Ivan Hurt, Mar 02 2022
a(n) = 2 * A001065(n). - Alois P. Heinz, Mar 02 2022
EXAMPLE
The sum of the even divisors of 18 that are less than 18 is 8 = 2+6.
MATHEMATICA
Table[Total[Select[Most[Divisors[2 n]], EvenQ]], {n, 70}] (* Harvey P. Dale, Apr 28 2023 *)
PROG
(PARI) a(n) = sumdiv(2*n, d, !(d%2) * d * (d<2*n)); \\ Michel Marcus, Jan 14 2014
(Python)
from sympy import divisors
def a(n): return sum(d for d in divisors(2*n) if d%2==0) - 2*n
print([a(n) for n in range(1, 101)]) # Indranil Ghosh, Oct 30 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Mohammad K. Azarian, Mar 07 2004
EXTENSIONS
More terms from Michel Marcus, Jan 14 2014
STATUS
approved