OFFSET
0,2
COMMENTS
Let zeta(n) denote the Riemann zeta function, B_n the Bernoulli numbers and let [n even] be 1 if n is even, 0 otherwise.
Then 2 zeta(n) [n even] = (2 Pi)^n | B_n | / n! for n >= 2.
Replacing in this formula the factorial of n by the swinging factorial of n (A056040) defines the 'swinging Bernoulli number' b_n.
Then 2 zeta(n) [n even] = (2 Pi)^n b_n / n$ for n >= 2.
Let additionally b_0 = 1 and b_1 = 1/2. The b_n are rational numbers like the Bernoulli numbers; unlike the Bernoulli numbers the swinging Bernoulli numbers are unsigned, bounded in the interval [0,1] and approach 0 for n -> infinity. The numerators of the swinging Bernoulli numbers b_n are abs(A120082(n)).
LINKS
Peter Luschny, Die schwingende Fakultät und Orbitalsysteme, August 2011.
EXAMPLE
1, 1/2, 1/6, 0, 1/120, 0, 1/1512, 0, 1/17280, 0, 1/190080, ..
MAPLE
MATHEMATICA
sf[n_] := With[{f = Floor[n/2]}, Pochhammer[f+1, n-f]/f!]; a[1] = 2; a[_?OddQ] = 1; a[n_] := 2*Zeta[n]*sf[n]/(2*Pi)^n // Denominator; Table[a[n], {n, 0, 28}] (* Jean-François Alcover, Jul 26 2013 *)
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Peter Luschny, Feb 03 2011
STATUS
approved