MathLabs

Problem 5

Determine all sequences a0,a1,a2,…a_0,a_1,a_2,\ldots of positive integers with a0≥2015a_0\ge2015 such that for all integers n≥1n\ge1: (i) an+2a_{n+2} is divisible by ana_n; (ii) ∣sn+1−(n+1)an∣=1|s_{n+1}-(n+1)a_n|=1, where sn+1=an+1−an+an−1−⋯+(−1)n+1a0s_{n+1}=a_{n+1}-a_n+a_{n-1}-\cdots+(-1)^{n+1}a_0.
Step 3 of 5: Use divisibility between sharp bounds
(n2+5n+3)an<an+2<(n2+5n+5)an⟹an+2=(n+1)(n+4)an(n≥4)(n^2+5n+3)a_n<a_{n+2}<(n^2+5n+5)a_n\Longrightarrow a_{n+2}=(n+1)(n+4)a_n\quad(n\ge4)
Detailed analysis

Substitute the recurrence twice and use the lower bound to obtain the strict inequalities. Since ana_n divides an+2a_{n+2}, the quotient is an integer strictly between two consecutive possible integer coefficients; it must be n2+5n+4n^2+5n+4, which factors as shown.