Cognizant Interview Question

Can you generate the prime series?