(49g 50g) Some Relatives of Bernoulli Numbers
|
05-09-2022, 03:25 PM
(This post was last modified: 05-09-2022 03:28 PM by John Keith.)
Post: #1
|
|||
|
|||
(49g 50g) Some Relatives of Bernoulli Numbers
This is a collection of three programs which compute Poly-Bernoulli numbers, Genocchi numbers and Gregory coefficients, numbers related to Bernoulli numbers.
Given an integer n on level 2 and a number k on level 1, the first program PBERN returns the Poly-Bernoulli number Bn(k). If k is a negative integer, the result will be an integer. Otherwise it will be a rational number (a fraction). The level 1 argument may be symbolic, but the resulting expression may be very large. Given an integer n, the second program GENOC will return n terms of the unsigned Genocchi numbers to level 2 and the Genocchi medians A005439 to level 1. The reason for the program returning both sequences is that the Seidel algorithm used by the program generates both at once. The last program Gn returns a list of the Gregory coefficients from 0 to n. Also known as the Bernoulli numbers of the second kind, they are rational numbers as well. All three programs require the ListExt library. The programs are posted as a directory for convenience but each program is independent and any unused programs may be deleted or moved to other directories. Code:
|
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
(49g 50g) Some Relatives of Bernoulli Numbers - John Keith - 05-09-2022 03:25 PM
RE: (49g 50g) Some Relatives of Bernoulli Numbers - John Keith - 04-09-2024, 06:55 PM
|
User(s) browsing this thread: 1 Guest(s)