MathLabs

Problem 2

Find all integers n≥3n \ge 3 for which there exist real numbers a1,a2,…,ana_1, a_2, \ldots, a_n satisfying an+1=a1a_{n+1}=a_1, an+2=a2a_{n+2}=a_2, and aiai+1+1=ai+2a_ia_{i+1}+1=a_{i+2} for i=1,2,…,ni=1,2,\ldots,n.
Step 2 of 7: Extending the indices and a product identity
ai+22−ai+2=aiai+3−aia_{i+2}^2-a_{i+2}=a_ia_{i+3}-a_i
Detailed analysis

Extend (ai)(a_i) to all integers ii by ai+n=aia_{i+n}=a_i, consistent with an+1=a1a_{n+1}=a_1 and an+2=a2a_{n+2}=a_2; then aiai+1+1=ai+2a_ia_{i+1}+1=a_{i+2} holds for every integer ii. Multiplying this relation by ai+2a_{i+2} gives aiai+1ai+2=ai+22−ai+2a_ia_{i+1}a_{i+2}=a_{i+2}^2-a_{i+2}; multiplying the shifted relation ai+1ai+2+1=ai+3a_{i+1}a_{i+2}+1=a_{i+3} by aia_i gives the same product, aiai+1ai+2=aiai+3−aia_ia_{i+1}a_{i+2}=a_ia_{i+3}-a_i. Equating the two expressions yields ai+22−ai+2=aiai+3−aia_{i+2}^2-a_{i+2}=a_ia_{i+3}-a_i for every integer ii.