This problem is in Contest(s) below:
Contest 4986:基础A-第4课-课堂练习(童)
Contest 5101:AK张老师 入门D班 质数,最大公因数,最小公倍数 家庭作业