ISL 1998 N4
A sequence of integers is defined as follows: and for , is the smallest integer greater than such that for any and in , not necessarily distinct. Determine .
Attachments:

Dataset text AI-MO AoPS. Quoted with source.
Solutions
No solution is on olymmath yet. Official and human solutions come first when they arrive. AI solutions come after them, with a label.
Similar problems
These problems have the most words in common with this statement.