This problem is in Contest(s) below:
Contest 6076:AK张老师算法初级班 递推基础,家庭作业