MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Bernoulli Numbers

  • To: mathgroup at
  • Subject: [mg122623] Re: Bernoulli Numbers
  • From: "Harvey P. Dale" <hpd1 at>
  • Date: Thu, 3 Nov 2011 03:48:39 -0500 (EST)
  • Delivered-to:
  • References: <>

	Why not use the function BernoulliB that is built into
Mathematica?  This code will generate the first 20 Bernoulli numbers:

		BernoulliB[Range[0, 20]]



-----Original Message-----
From: David Turner [mailto:DTurner at]
Sent: Wednesday, November 02, 2011 7:23 AM
To: mathgroup at
Subject: [mg122623] Bernoulli Numbers


I wish to compute several Bernoulli numbers, say B0 through B20.  The
Bernoulli numbers are defined recursively by

B0 = 1, and Solve[Sum[Binomial[n,k]*Bk,{k,0,n-1}]==0,Bn-1] for n > 1

I am trying to compute these numbers in some type of loop, and display
them in a table.  Any help is greatly appreciated.



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. This message contains confidential information and is
intended only for the individual named. If you are not the named
addressee you should not dissem inate, distribute or copy this e-mail.
Please notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system. If you are
not the intended recipient you are notified that disclosing, copying,
distributing or taking any action in reliance on the contents of this
information is strictly prohibited.

  • Prev by Date: Re: Simple question about inverse of a function
  • Next by Date: Re: Bernoulli Numbers
  • Previous by thread: Re: Bernoulli Numbers
  • Next by thread: Re: Bernoulli Numbers