OFFSET
1,3
COMMENTS
LINKS
Robert Israel, Table of n, a(n) for n = 1..2307
FORMULA
a(n) = numerator of Sum_{k=1..n} (-1)^(k+1) * 1/(k*(k+1)).
MAPLE
map(numer, ListTools:-PartialSums([seq((-1)^(k+1)/k/(k+1), k=1..40)])); # Robert Israel, Apr 13 2021
MATHEMATICA
Table[Numerator[Sum[(-1)^(k+1)*1/(k(k+1)), {k, 1, n}]], {n, 1, 40}]
PROG
(PARI) a(n) = numerator(sum(k=1, n, (-1)^(k+1) * 1/(k*(k+1)))); \\ Michel Marcus, Apr 13 2021
CROSSREFS
KEYWORD
nonn
AUTHOR
Alexander Adamchuk, Nov 30 2006
STATUS
approved