Number theory

Problems on number theory, including divisibility, GCD and LCM, prime numbers and the sieve of Eratosthenes, factorization, modular arithmetic and fast exponentiation, Euler's totient function, linear Diophantine equations and the Chinese remainder theorem.

Narrower problem sets are under Prime factorization, Chinese remainder theorem and Combinatorics.

Problems

Two factors#5

Medium (≈1350)

Big accuracy#11

Easy (≈1000)

Cycle shifts#27

Easy (≈1000)

Bell numbers#97

Very easy (≈850)

LCM#135

Medium (≈1350)

GCD#137

Very easy (≈850)

Happy Numbers#163

Hard (≈1650)

Bag of fake money#170

Hard (≈1650)

The Very Hard One#249

Easy (≈1000)

Again irreducible#339

Very easy (≈850)

RSA Factorization#367

Very easy (≈850)

Equation#414

Medium (≈1350)

Assessment#427

Very easy (≈850)

Formations#442

Very easy (≈850)

Linear Black Box#484

Hard (≈1650)

Code Permutations#551

Hard (≈1650)

Interesting equation#561

Very hard (≈2050)

Simple equation#563

Very easy (≈850)

1-25 of 626