Let a0,a1,a2,… be a sequence of integers and b0,b1,b2,… be a sequence of positive integers such that a0=0,a1=1, and
an+1={anbn+an−1anbn−an−1if bn−1=1if bn−1>1for n=1,2,….
for n=1,2,…. Prove that at least one of the two numbers a2017 and a2018 must be greater than or equal to 2017.