Sequences of Numbers

Bernoulli, Fibonacci, Mersenne, and other sequences of numbers

Note

MuPAD® notebooks will be removed in a future release. Use MATLAB® live scripts instead.

To convert a MuPAD notebook file to a MATLAB live script file, see convertMuPADNotebook. MATLAB live scripts support most MuPAD functionality, although there are some differences. For more information, see Convert MuPAD Notebooks to MATLAB Live Scripts.

MuPAD Functions

bernoulliBernoulli numbers and polynomials
contfracDomain of continued fractions
eulerEuler numbers and polynomials
numlib::contfracDomain of continued fractions
numlib::contfracPeriodicPeriodic continued fraction expansions
numlib::decimalInfinite representation of rational numbers
numlib::fibonacciFibonacci numbers
numlib::mersenneMersenne primes
numlib::sumOfDigitsSum of digits of an integer
randomGenerate random integer numbers

Topics

Sequences of Numbers

The Fibonacci numbers are a sequence of integers.