OFFSET
0,3
COMMENTS
Denominator of the Bernoulli number B_n, except a(1)=1. A minor variant of the Bernoulli denominators A027642.
and the sequence of fractions A027641(n)/A027642(n) = B_n = 1/1, -1/2, 1/6, 0/1, -1/30, ... differ only (by a sign) at n=1. The arithmetic mean of both sequences is 1/1, 0/1, 1/6, 0/1, -1/30, ..., equal to the aerated sequence A000367(n)/A002445(n). The definition here provides the denominators of this sequence of arithmetic means.
LINKS
Antti Karttunen, Table of n, a(n) for n = 0..4096
MAPLE
seq(denom((bernoulli(i, 0)+bernoulli(i, 1))/2), i=0..64); # Peter Luschny, Jun 17 2012
MATHEMATICA
Join[{1, 1}, Rest[Denominator[BernoulliB[Range[80]]]]] (* Harvey P. Dale, Jun 18 2012 *)
PROG
(PARI) apply(deniominator, Vec(serlaplace((x/2)*(1+exp(-x))/(1-exp(-x))))) \\ Charles R Greathouse IV, Sep 26 2017
(PARI) A176289(n) = if(1==n, n, denominator(bernfrac(n))); \\ Antti Karttunen, Dec 19 2018
CROSSREFS
KEYWORD
nonn,frac
AUTHOR
Paul Curtz, Apr 14 2010
EXTENSIONS
More terms from Harvey P. Dale, May 03 2012
New name from Peter Luschny, Jun 18 2012
STATUS
approved