MAXIMA

(%i1) fib(

*n*);
PARI/GP

gp> fibonacci(

*n*)
CAS COMMANDS

MAXIMA

(%i1) fib(*n*);

PARI/GP

gp> fibonacci(*n*)

A man has one pair of rabbits at a certain place entirely surrounded by a wall. We wish to know how many pairs will be bred from it in one year, if the nature of these rabbits is such that they breed every month one other pair and begin to breed in the second month after their birth.- Leonardo Pisano Fibonacci

FUNCTIONS