Pergunta de entrevista da empresa Ladders

Write a function that, given a number n, prints all primes <= n.