IntermediateMathematics
Domain · Number Theory

Start solving

Pick a puzzle below — each one has an interactive simulator you can play right away.

Start: Two classes bought 737 textbooks. Each st…

Introduction to Number Theory

Learn the methodRead guide

Introduction to Number Theory

Modular arithmetic is an important tool in number theory. When dividing a number aa by bb, we obtain a quotient and a remainder, expressed as:

a=bq+ra = bq + r

where 0r<b0 \le r < b. Instead of writing out full division calculations, mathematicians use modular notation:

ar(modb)a \equiv r \pmod{b}

Divisibility and Prime Factorization

To determine how many divisors a number has, we use its prime factorization. If a number NN has the form:

N=pa×qb×rcN = p^a \times q^b \times r^c

where p,q,rp, q, r are prime numbers, then the total number of divisors is given by:

(a+1)(b+1)(c+1)(a+1)(b+1)(c+1)

Interesting Problems

What is the remainder when dividing 92015+72015220159^{2015} + 7^{2015} - 2^{2015} by 8?

The number AA has 5 divisors, and the number BB has 7 divisors. Can the product ABAB have exactly 10 divisors?

Prove that abccbaabc - cba is divisible by 99.

All puzzles