Sponsored links: Algebra eBooks
 

Help Index

A

B

C

D

E

F

G

H

I

J

K

L

M

N

O

P

Q

R

S

T

U

V

W

X

Y

Z

The Maxima on-line user's manual

Algebra Calculator

Search:

Fib Calculator

Fib

Function: fib (<n>) Returns the <n>th Fibonacci number. fib(0) equal to 0 and fib(1) equal to 1, and fib (-<n>) equal to (-1)^(<n> + 1) * fib(<n>).

After calling fib, prevfib is equal to fib (<x> - 1), the Fibonacci number preceding the last one computed.

          (%i1) map (fib, [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
          (%o1)         [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55]

There are also some inexact matches for fib. Try ?? fib to see them.

(%o1)                                true
(%i2) 

Fib Example

Related Examples

fib

for n:0 thru 20 do sp...

for n:0 thru 22 do (...

Calculate

fib-inf-limit

limit(fib(n)/fib(n-1)...

Calculate

fib-makelist

makelist(((38+51*n+25...

Calculate

fib-sum

sum (fib(i)*fib(i+201...

Calculate

fib

n:5;

fib(80);

F(n):= n-2 + n-1;

Calculate

fib-makelist

makelist(((38+51*n+25...

Calculate

fib

fib(-1);

Calculate

fib

n:5;

fib(19);

F(n):= n-2 + n-1;

Calculate

fib-ratsimp-sqrt

f(x,y):=x*y;

f(4,4);

fib(n):=1/sqrt(5)*(((...

Calculate

fib-sum

sum(fib(i)*fib(i+2017...

Calculate