Basics 0/129

Numbers and arithmetic · 3 of 4 Advanced

Primes and sieves

Test a number for primality and factor it by trial division up to the square root, and find every prime below a limit with a sieve.

2,564 words · 12 min read

Difficulty: how hard each problem is if its topic is new to you.

Core 5

Additional practice 4