Solo assignment 2 — Counting primes five ways
Brute force, √n pruning, 6k±1, the sieve of Eratosthenes, Miller-Rabin — and a timing comparison
Period: Weeks 10–11 Due: Tue 1 Dec, 23:59
Run the public tests locally first — submit once they pass.
Problems on this page
Download report
The report is a PDF with your code and answers embedded — hand in this one file on Canvas, nothing else. It is signed, and a TA verifies it, so do not edit it. Every problem needs at least one submission before you can download it.