home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: sci.math
- Path: sparky!uunet!stanford.edu!nntp.Stanford.EDU!ilan
- From: ilan@leland.Stanford.EDU (ilan vardi)
- Subject: Re: Closed forms for sums
- Message-ID: <1993Jan11.205937.9885@leland.Stanford.EDU>
- Sender: news@leland.Stanford.EDU (Mr News)
- Organization: DSG, Stanford University, CA 94305, USA
- References: <964.165.uupcb@hal9k.ann-arbor.mi.us> <24833@galaxy.ucr.edu>
- Date: Mon, 11 Jan 93 20:59:37 GMT
- Lines: 22
-
- In article <24833@galaxy.ucr.edu> tadpole@ucrmath.ucr.edu (tad white) writes:
- >* While we're on the subject, I was killing some time with Derive, a
- >* Mathematical Assistant one day waiting form my Finite class to begin
- >* and found the closed form for
- >*
- >* ---
- >* \ j
- >* > i
- >* /
- >* ---
- >* i=1
- >
- >Mathematica doesn't seem to have them built-in either, and I needed
- >them for my calculus course last quarter. So here's Mathematica code
- >for them, with a sample.
- >
-
- How about
-
- s[m_, n_]:= (BernoulliB[m, n+1] - BernoulliB[m, 0])/m
-
- -ilan
-