Problem

Source: 2020 Korean MO winter camp Test 1 P6

Tags: number theory



Find all strictly increasing sequences {an}n=0 of positive integers such that for all positive integers k,m,n an+1+an+2++an+kk+mis not an integer larger than 2020.