bernoulli_numbers(3); bernoulli_numbers(3, big=TRUE)
## Big Integer ('bigz') 4 x 2 matrix:
## [,1] [,2] [,1] [,2]
## [1,] 1 1 [1,] 1 1
## [1,] 1 2 [2,] 1 2
## [2,] 1 6 [3,] 1 6
## [3,] 0 1 [4,] 0 1
if (FALSE) {
bernoulli_numbers(24)[25,]
## [1] -236364091 2730
bernoulli_numbers(30, big=TRUE)[31,]
## Big Integer ('bigz') 1 x 2 matrix:
## [,1] [,2]
## [1,] 8615841276005 14322
}
Run the code above in your browser using DataLab