A050925 Numerator of (n+1)*Bernoulli(n).
1, -1, 1, 0, -1, 0, 1, 0, -3, 0, 5, 0, -691, 0, 35, 0, -3617, 0, 43867, 0, -1222277, 0, 854513, 0, -1181820455, 0, 76977927, 0, -23749461029, 0, 8615841276005, 0, -84802531453387, 0, 90219075042845, 0, -26315271553053477373, 0, 38089920879940267, 0
Offset: 0
Links
- N. J. A. Sloane, Table of n, a(n) for n = 0..200
- M. Kaneko, A recurrence formula for the Bernoulli numbers, Proc. Japan Acad., 71 A (1995), 192-193.
- OEIS Wiki, Autosequence
- S. C. Woon, A tree for generating Bernoulli numbers, Math. Mag., 70 (1997), 51-56.
- Index entries for sequences related to Bernoulli numbers.
Crossrefs
Programs
-
Haskell
a050925 n = a050925_list !! n a050925_list = 1 : -1 : (tail $ map (numerator . sum) $ zipWith (zipWith (%)) (zipWith (map . (*)) (drop 2 a000142_list) a242179_tabf) a106831_tabf) -- Reinhard Zumkeller, Jul 04 2014
-
Mathematica
Numerator[Table[(n+1)BernoulliB[n],{n,0,40}]] (* Harvey P. Dale, May 13 2012 *)
-
PARI
a(n)=numerator(bernfrac(n)*(n+1)) \\ Charles R Greathouse IV, Feb 07 2017
Comments