Here we have created a repo which includes Python programs for some mathematical algorithms, i.e. Factorial , Fibonacci
The product of all positive integers less than or equal to a given number. The factorial is denoted by n!
For Example : Factorial of 5! = 5 * 4 * 3 * 2 * 1
A set of integers that starts with 0 followed by a 1, then by another 1, and then by a steadily increasing numbers.
A fibonacci sequence can be defined by following 3 equations :
n0 = 0 (For 1st Integer)
n1 = 1 (For 2nd Integer)
n(i) = n(i-1) + n(i-2) (For all other integers)
For Example : 0, 1, 1, 2, 3, 5, 8, 13, 21, 32, . . .
To run these programs make sure you have python version 3 and pytest version 7 installed.
MIT License is used in this project.
| Home | Factorial | Fibonacci Series | ©2022 |