Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #6156
| From | "Harvey P. Dale" <hpd1@nyu.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Bernoulli Numbers |
| Date | 2011-11-03 08:58 +0000 |
| Organization | Steven M. Christensen and Associates, Inc and MathTensor, Inc. |
| Message-ID | <j8tl3v$f3m$1@smc.vnet.net> (permalink) |
| References | <201111021122.GAA03586@smc.vnet.net> |
Why not use the function BernoulliB that is built into
Mathematica? This code will generate the first 20 Bernoulli numbers:
BernoulliB[Range[0, 20]]
Best,
Harvey
-----Original Message-----
From: David Turner [mailto:DTurner@faulkner.edu]
Sent: Wednesday, November 02, 2011 7:23 AM
Subject: Bernoulli Numbers
Hello,
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.
Thanks,
David
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
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.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Bernoulli Numbers "Harvey P. Dale" <hpd1@nyu.edu> - 2011-11-03 08:58 +0000
csiph-web