This is a repository of useful math related algorithm.
Different approaches in solving permutation and combination using python. (Check folder permutation_combination)
- Raw maths
- Factorial
- Stirling's Approximation
- List method
- List method (more efficient approach)
The explanation of these implementations can be found at https://chuinhongyap.medium.com/permutation-using-python-882ae85ce3a7.
- Gaussian (Normal) Distribution
- Binomial Distribution
Various ways to obtain prime numbers.
- Using Loop
- Sieve of Eratosthenes
- Sieve of Sundaram
- Sieve of Atkin
The explanation of these implementations can be found at https://chuinhongyap.medium.com/how-to-obtain-prime-numbers-using-python-a3fbd0f5eb73.