This problem is in Contest(s) below:
Contest 1249:20250301
Contest 1222:质数