A sequence of integers a1,a2,a is defined as follows: and for , is the smallest integer greater than such that for any and in , not necessarily distinct. Determine .
3
,
…
a1=1
n≥1
an+1
an
ai+aj=3ak
i,j
k
{1,2,3,…,n+1}
a1998
MathematicsHardAoPS Forum #292
Sign in to check your answer and unlock the solution.