Practice Problems

Daily Challenge: Paths Around the Walls (1500) Solve it to start a streak

number-theory Problems

34 practice problems tagged number-theory , from difficulty 1100 to 2400 — solve them in our in-browser judge with instant verdicts. Browse all problems.

Related: math mobius combinatorics pollard-rho binary-search linear-algebra

ProblemTopics Solvers Acceptance Difficulty
GCD of Everything math number-theory 0 1100
Distinct Prime Factors math number-theory 0
0%
1200
Is It Prime math number-theory 0 1300
Count the Primes math number-theory 0 1300
Largest Prime Factor math number-theory 0 1300
Prime Factorization math number-theory 0 1300
Count the Divisors math number-theory 0 1300
Sum of Divisors math number-theory 0 1400
Goldbach Split math number-theory 0 1400
Twin Prime Pairs math number-theory 0 1400
The Next Prime math number-theory 0 1500
Prime Power in a Factorial number-theory 0 1500
Euler's Totient math number-theory 0 1600
All Inverses at Once number-theory 0 1600
Two Remainder Conditions math number-theory 0 1700
Sum of Remainders number-theory 0 1700
Sum of Floor Divisions number-theory 0 1800
Sum of GCDs with N number-theory 0 1900
Coprime to N in a Range number-theory 0 1900
Lattice Points Under a Line number-theory 0 1900
Primitive Right Triangles number-theory 0 2000
Coprime Pairs number-theory mobius 0 2100
Sum of Pairwise GCDs number-theory 0 2100
Binomial Modulo Small Prime combinatorics number-theory 0 2100
The K-th Squarefree Number binary-search number-theory mobius 0 2100
Matrix Determinant mod p number-theory linear-algebra 0 2100
System of Remainders number-theory 0 2200
Counting Necklaces combinatorics number-theory 0 2200
Two Squares number-theory 0 2200
Factor the Giant number-theory pollard-rho 0 2300
Solve the Exponent number-theory 1
100%
2300
Find a Primitive Root number-theory 0 2300
Square Root Modulo a Prime number-theory 0 2400
Power Tower Modulo number-theory 0 2400