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: Primality Test With Sieve

9th - 10th
This video lesson demonstrates an attempt at an optimal trial division primality test that uses the Sieve of Eratosthenes. This video lesson from Khan Academy is intended for students who are taking an introductory computer science course.