I\'m currently trying out some questions just to practice my programming skills. ( Not taking it in school or anything yet, self taught ) I came across this problem which re
Since this is for pedagogical purposes, I would suggest implementing the Sieve of Eratosthenes.