This problem is in Contest(s) below:
Contest 255:周一班(二级):素数2