A165142 Numerators of a partial sum of 0, 1, 1/2, B_2, B_3, B_4,.., a modified Bernoulli sequence.
0, 0, 1, 3, 5, 5, 49, 49, 58, 58, 341, 341, 1963, 1963, 14479, 14479, 39236, 39236, -2286593, -2286593, 81626353, 81626353, -928516601, -928516601, 127463912438, 127463912438, -6013599342683, -6013599342683, 149990958958943
Offset: 0
Crossrefs
Cf. A100650 (denominators).
Programs
-
Maple
read("transforms") ; L := [0,0,1,1/2,seq(bernoulli(i),i=2..30)] ; PSUM(L) ; apply(numer,%) ; # R. J. Mathar, Dec 02 2010
-
Mathematica
b[n_] := BernoulliB[n-1]; b[0]=0; b[1]=1; b[2]=1/2; Join[{0}, Accumulate[ Table[b[n], {n, 0, 27}]] // Numerator] (* Jean-François Alcover_, Aug 09 2012 *)
Comments