Bluebook

Ten Primes on a Line

A natural number N (greater than one), is a prime number if it has no
natural number divisors other than 1 and N. Given an integer M,
write a program that finds the first M primes, printing them ten to a line.
Each number should be separated by a space.