login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A138706 a(n) = sum of the terms in the continued fraction expansion of the absolute value of B_{2n}, the (2n)th Bernoulli number. 4
1, 6, 30, 42, 30, 18, 37, 7, 28, 96, 559, 6210, 86617, 1425523, 27298263, 601580913, 15116315788, 429614643067, 13711655205344, 488332318973599, 19296579341940107, 841693047573684421, 40338071854059455479 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,2

LINKS

Table of n, a(n) for n=0..22.

FORMULA

a(n) = A138703(2*n). - R. J. Mathar, Jul 20 2009

EXAMPLE

The 12th Bernoulli number is -691/2730. Now 691/2730 has the continued fraction 0 + 1/(3 + 1/(1 + 1/(19 + 1/(3 + 1/11)))). So a(6) = 0 + 3 + 1 + 19 + 3 + 11 = 37.

MAPLE

A138704row := proc(n) local B; B := abs(bernoulli(2*n)) ; numtheory[cfrac](B, 20, 'quotients') ; end: A138706 := proc(n) add(c, c=A138704row(n)) ; end: seq(op(A138706(n)), n=0..30) ; # R. J. Mathar, Jul 20 2009

MATHEMATICA

Table[Total[ContinuedFraction[Abs[BernoulliB[2n]]]], {n, 0, 25}] (* Harvey P. Dale, Feb 23 2012 *)

CROSSREFS

Cf. A138703, A138704, A138705.

Sequence in context: A062268 A067879 A136375 * A027762 A002445 A151711

Adjacent sequences:  A138703 A138704 A138705 * A138707 A138708 A138709

KEYWORD

nonn

AUTHOR

Leroy Quet, Mar 26 2008

EXTENSIONS

Extended beyond a(7) by R. J. Mathar, Jul 20 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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified February 22 13:09 EST 2018. Contains 299454 sequences. (Running on oeis4.)