IMO ShortList 1998, number theory problem 4
Source: IMO ShortList 1998, number theory problem 4
October 22, 2004
number theoryInteger sequenceCalculateIMO Shortlist
Problem Statement
A sequence of integers is defined as follows: a_{1} \equal{} 1 and for , a_{n \plus{} 1} is the smallest integer greater than such that a_{i} \plus{} a_{j}\neq 3a_{k} for any and in \{1,2,3,\ldots ,n \plus{} 1\}, not necessarily distinct. Determine .