login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A157799 Numerator of Bernoulli(n, 1/3). 3
1, -1, -1, 1, 13, -5, -121, 49, 1093, -809, -49205, 20317, 61203943, -722813, -5580127, 34607305, 25949996501, -2145998417, -2832495743227, 167317266613, 101471818419863, -16020403322021, -4469253897850313, 1848020950359841, 11126033443528968583, -252778977216700025 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
This sequence gives also the numerators of the generalized Bernoulli numbers B[3,1](n) = 3^n*Bernoulli(n, 1/3) with denominators given by A285068. See the formula and example section there for the rationals. The numbers B[3,2](n) = 3^n*Bernoulli(n, 2/3) = (-1)^n*B[3,1](n) have numerators (-1)^n*a(n) and denominators A285068 (proof from the e.g.f.s). - Wolfdieter Lang, Apr 28 2017
LINKS
MATHEMATICA
Table[Numerator[BernoulliB[n, 1/3]], {n, 0, 50}] (* Vincenzo Librandi, Mar 16 2014 *)
PROG
(Python)
from sympy import bernoulli, Integer
def a(n): return bernoulli(n, 1/Integer(3)).numerator() # Indranil Ghosh, May 01 2017
CROSSREFS
For denominators see A157800, A285068.
Sequence in context: A121230 A299959 A278445 * A240121 A081458 A296438
KEYWORD
sign,easy,frac
AUTHOR
N. J. A. Sloane, Nov 08 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 19 19:02 EDT 2024. Contains 371798 sequences. (Running on oeis4.)