OFFSET
1,5
COMMENTS
Reduced numerators of Favard constants.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..200
N. D. Elkies, On the sums Sum((4k+1)^(-n),k,-inf,+inf), arXiv:math/0101168 [math.CA], 2001.
N. D. Elkies, On the sums Sum_{k = -infinity .. infinity} (4k+1)^(-n), Amer. Math. Monthly, 110 (No. 7, 2003), 561-573.
Z. K. Silagadze, Comment on the sums S(n) = sum(k=-inf..inf) 1/(4k+1)^n, (2012) arXiv:1207.2055
Eric Weisstein's World of Mathematics, Favard Constants
FORMULA
There is a simple formula in terms of Euler and Bernoulli numbers.
Numerator of coefficients of expansion of (sec(x/2) + tan(x/2) + 1)/2 in powers of x. - Sergei N. Gladkovskii, Nov 11 2014
EXAMPLE
The first few values of S(n)/Pi^n are 1/4, 1/8, 1/32, 1/96, 5/1536, 1/960, ...
MAPLE
S := proc(n, k) option remember; if k = 0 then `if`(n = 0, 1, 0) else
S(n, k - 1) + S(n - 1, n - k) fi end: EZ := n -> S(n, n)/(2^n * n!):
# alternative
A050970 := proc(n)
if type(n, 'even') then
(-1)^(n/2)*2^(n-2)/(n-1)!*euler(n-1, 0) ;
else
(-1)^((n-1)/2)*2^(n-2)/(n-1)!*euler(n-1, 1/2) ;
end if;
%/2^n ;
numer(%) ;
end proc:
seq(A050970(n), n=1..20) ; # R. J. Mathar, Jun 26 2024
MATHEMATICA
s[n_] := Sum[(4*k + 1)^(-n), {k, -Infinity, Infinity}]; a[n_] := Numerator[FullSimplify[s[n]/Pi^n]]; a[1] = 1; Table[a[n], {n, 1, 26}] (* Jean-François Alcover, Oct 25 2012 *)
s[n_?EvenQ] := (-1)^(n/2-1)*(2^n-1)*BernoulliB[n]/(2*n!); s[n_?OddQ] := (-1)^((n-1)/2)*2^(-n-1)*EulerE[n-1]/(n-1)!; Table[s[n] // Numerator, {n, 1, 26}] (* Jean-François Alcover, May 13 2013 *)
a[n_] := 4*Sum[((-1)^k/(2*k+1))^n, {k, 0, Infinity}] /. Pi -> 1 // Numerator; Table[a[n], {n, 1, 26}] (* Jean-François Alcover, Jun 20 2014 *)
Table[4/(2 Pi)^n LerchPhi[(-1)^n, n, 1/2], {n, 21}] // Numerator (* Eric W. Weisstein, Aug 02 2017 *)
Table[4/Pi^n If[Mod[n, 2] == 0, DirichletLambda, DirichletBeta][n], {n, 21}] // Numerator (* Eric W. Weisstein, Aug 02 2017 *)
PROG
(PARI) {a(n) = if( n<0, 0, numerator( polcoeff( 1 / (1 - tan(x/4 + x * O(x^n))), n)))}; /* Michael Somos, Nov 11 2014 */
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
EXTENSIONS
Entry revised by N. J. A. Sloane, Mar 24 2002
STATUS
approved