Prime visits (array challenge)


plz check why this code is not working

Basically, in this program you have to use prime seive optimisation, as given in online video lecture under number theory section. Make changes in your code accordingly.