Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: The Prime Number Theorem

6th - 8th
How can we estimate the number of primes up to x?
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Algorithmic Efficiency

5th - 8th Standards
How can we improve the speed of a (deterministic) primality test?
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Primality Test

6th - 9th
Setting up the problem of a primality test.
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Primality Test With Sieve

6th - 9th
An attempt at an optimal trial division primality test using the Sieve of Eratosthenes.
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Summary (What's Next?)

6th - 9th
Why is factorization hard, yet generating primes easy? Where do we go from here?
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Running Time

5th - 8th
What is a computer? How should we define the time needed to execute an algorithm?
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Time Space Tradeoff

9th - 10th
What is our memory limit? How can save time at the expense of space?
Instructional Video
Instructional Video
Khan Academy

Khan Academy: Computational Number Theory: Sieve of Eratosthenes

5th - 8th
Sieve of Eratosthenes allows us to generate a list of primes.