Mathematical Algorithms (Difficulty Wise)
Last Updated :
12 Feb, 2025
Improve
The following is the list of mathematical concepts and related coding problems. The coding problems are ordered according to difficulty level. Please refer Mathematical Algorithms (Topic Wise) for the topic wise list of problems.
Mathematical Concepts:
- Numbers
- Prime Numbers
- Arithmetic Progression
- Geometric Progression
- GCD and LCM
- Factorial
- Permutation and Combination
- Catalan Number
- Modular Arithmetic
Basic Problems
- Sum of Naturals
- Sum of Squares of Naturals
- Nth Term of AP
- Nth Term of GP
- Nth Triangular Number
- Sum of Sums of Natural Numbers
- Count Digits
- Sum of Digits
- Reverse Digits
- K-th Digit in a^b
- Palindrome Number
- GCD of Two Numbers
- LCM of Two Numbers
- Add two fractions
- Check for Co-Prime
- Factorial of a Number
- GCD of more than 2
- LCM of more than 2
- Padovan Sequence
Easy Problems
- Pair Cube Count
- Sum of 2, 22, 222, ………
- Sum of 1^2 + 3^2 + 5^2 + . . . + (2*n – 1)^2
- Sum of 0.6, 0.06, 0.006, 0.0006, …to n terms
- n-th term of 2, 12, 36, 80, 150….
- Digit Root
- Fibonacci Numbers
- Lucas Number
- Check for Power
- Three Divisors
- Square Root
- Binomial Coefficient
- Pascal Triangle
- nth Row of the Pascal Triangle
- Armstrong Numbers
- Determinant of a Matrix
- Modular Exponentiation
- Check for Perfect Squares
- Divisibility by 3
- Divisibility by 4
- Divisibility by 7
- Divisibility by 11
- Divisibility by 13
- Divisibility by 29
Medium Problems
- Linear Diophantine Equations
- Euler's Totient Function
- Sieve of Eratosthenes
- All Divisors
- Prime Factorization
- Largest Prime Factor
- Factorial of a Large Number
- Largest Power Divisible in Factorial
- Last Non-zero Digit of Factorial
- Power Set
- Add Two Polynomials
- All Permutations of a String
- Next Permutation
- Check for Carmichael Numbers
- Collatz sequence
- Grid Unique Paths
- Nth Even Fibonacci Number
- Last 2 Digits of Nth Fibonacci
Hard Problems
- Josephus Problem
- Water Jug Tutorial
- Segmented Sieve
- k-th prime factor
- N-th Root
- Sum of Digits in Factorial
- Egg Dropping
- Next String