OFFSET
0,2
COMMENTS
The denominators of Sum_{k = 0..n} (-1)^k/(3*k+1) agree with A051536 up to n = 44 but differ at n = 45. - Peter Bala, Feb 18 2024
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
Sum_{k>=0} (-1)^k/(3*k+1) = (log(2)*sqrt(3) + Pi)/(3*sqrt(3)).
a(n) = the numerator of the continued fraction 1/(1 + 1^2/(3 + 4^2/(3 + ... + (3*n-2)^2/(3)))). - Peter Bala, Feb 18 2024
MATHEMATICA
Table[Numerator[Sum[(-1)^k/(3*k + 1), {k, 0, n}]], {n, 0, 50}] (* G. C. Greubel, Oct 04 2017 *)
PROG
(PARI) a(n)=numerator(sum(k=0, n, (-1)^k/(3*k+1)))
CROSSREFS
KEYWORD
frac,nonn
AUTHOR
Benoit Cloitre, Oct 19 2002
EXTENSIONS
Corrected by T. D. Noe, Oct 25 2006
STATUS
approved