Problem 1 from the the 39th INMO, 2025.
Consider the sequence defined by $a_1 = 2$, $a_2 = 3$, and $a_{2k+2} = 2 + a_k + a_{k+1}$ and $a_{2k+1} = 2 + 2a_k$ for all integers $k \geq 1$.
Determine all positive integers $n$ such that $a_n/n$ is an integer.
The official solution is available online. I was wondering if it is possible to create a formula for the nth term of this sequence using the information provided, and if there was a solution that did not use the parities of the terms or any modular arithmetic.
My work:
Given that $a_{2k+1} = 2 + 2a_k$
⟹ $a_k = a_{2k+1}/2 - 1$
$k→k+1$
⟹ $a_{k+1} = a_{2k+3}/2 - 1$
Given that $a_{2k+2} = 2 + a_k + a_{k+1}$
Substituting the previous result for $a_k$ and $a_{k+1}$
⟹ $a_{2k+2} = 2 + a_{2k+1}/2 - 1 + a_{2k+3}/2 - 1$
⟹ $2a_{2k+2} = a_{2k+1} + a_{2k+3}$
However, since $a_{2k+1}, a_{2k+2}, a_{2k+3}$ are consecutive terms, the relation $2a_{2k+2} = a_{2k+1} + a_{2k+3}$ implies that this is an Arithmetic Progression. Is this true?
Here is a link to the question paper (PDF link via hbcse.tifr.res.in).
