Number Theory Meet 2
Created | |
---|---|
Tags |
Topics
- Integer factorization
- O(n)
- O( )
- Primality Testing
- O( )
- Sieve Algorithm
- Linear Sieve
- Applications of Sieve
- checking prime in O(1)
- factorize in O(logN)
- Sum/Num divisors
- highest/smallest prime divisor
- euler totient function
- Segmented Sieve
- Totient Function and Applications
- Miller Rabin
Questions
- https://codeforces.com/problemset/problem/26/A (Almost prime, easy)
- https://codeforces.com/contest/653/problem/G (all maths requires a bit of sieve, hard)