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 5 of 5: Identify and verify both families
an=c(n+2)n!(n≥1),a0=c+1 or c−1a_n=c(n+2)n!\quad(n\ge1),\qquad a_0=c+1\text{ or }c-1
Detailed analysis

The ratio at n=1 makes a_1 a multiple of three; write a_1=3c and induct to obtain the displayed formula. The condition at n=1 gives a_0=c plus or minus one. The lower bound on a_0 gives c at least 2014 in the plus case and at least 2016 in the minus case. Finally, using the factorial identity for the alternating sum verifies both families.