Category
Number Theory
Primes, divisibility, and modular arithmetic worth the detour.
Number theory is the study of the integers, and it is where elementary tools go furthest. Divisibility, primes and modular arithmetic settle questions that look far out of reach.
Problems here range from digit puzzles and divisibility arguments up to congruences, Diophantine equations, and orders modulo n. Checking small cases is not cheating — it is usually how the pattern gets found.
Latest problems
198 problems
Trailing Zeros of a Factorial in Binary
1000
10
A Square with Special Last Digits
1472
18
Floor Times Fractional Part
1375
10
When a Quadratic Becomes a Perfect Square
1583
7
Triples with a Given Least Common Multiple
1417
4
Sum of Palindromes II
1250
7
Sum of Palindromes
1167
11
Sum of Palindromes III
1167
6
Browse every Number Theory problem →