Lumina Datamatics interview question

write a program of prime numbers.