Be the first to rate this file! 6 Downloads (last 30 days) File Size: 229 Bytes File ID: #7257

Bernoulli Numbers

by Paolo Panarese

 

24 Mar 2005 (Updated 28 Mar 2005)

Given positive integer k, generate the k-th bernoulli number.

| Watch this File

File Information
Description

Bernoulli numbers are obtained from the series expansion of the function

z/(exp(z) -1 ) = sum(a(k)*z^k);

Then the k-th Bernoulli number is defined as

B(k) = k! * a(k);

  
These numbers are related to the sum of the p-th powers of consecutive n integers (from 1 to n-1) and define:

S(n,p) = sum((1:n-1).^p)

See http://numbers.computation.free.fr/Constants/Miscellaneous/bernoulli.html#CITEDilcher

MATLAB release MATLAB 7.0.1 (R14SP1)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
bernoulli Paolo Panarese 22 Oct 2008 07:44:13
numbers Paolo Panarese 22 Oct 2008 07:44:13
series Paolo Panarese 22 Oct 2008 07:44:13
function Paolo Panarese 22 Oct 2008 07:44:13
expansion Paolo Panarese 22 Oct 2008 07:44:13
bernoulli Fohanno Fohanno 08 Dec 2010 08:03:44

Contact us at files@mathworks.com