Let c be a positive real and a1,a2,… be a sequence of nonnegative integers satisfying the following conditions for every positive integer n:(i)n2a1+2a2+⋯+2an is an integer;(ii)\textbullet 2^{a_n}\leq cn.Prove that the sequence a1,a2,… is eventually constant. olympic revengenumber theory