---
# System prepended metadata

title: Number Theory Practice Questions

---

# Number Theory Practice Questions


- [Prefix sum](https://cses.fi/problemset/task/1646)
- [Binomial Coefficients
](https://cses.fi/problemset/task/1079) (Precomputation, modular arithmetic)
- [Emordnilap](https://codeforces.com/problemset/problem/1777/B)
- [Counting divisors](https://cses.fi/problemset/task/1713)
-  [Exponentiation](https://cses.fi/problemset/task/1095) (Binary Exponentiation, modular arithmetic)
-  [Counting Primes](https://leetcode.com/problems/count-primes/description/) (Sieve)


## Extra Problems
- [Not Divisible]( https://atcoder.jp/contests/abc170/tasks/abc170_d)
- [ Zero Remainder Array](https://codeforces.com/contest/1374/problem/D)
- [Prime Arrangements](https://leetcode.com/problems/prime-arrangements/) (modular arithmatic, primality test)