Problem:
What is the maximum possible length of a sequence of natural numbers such that for , and for .
All-Soviet-Union Mathematical Olympiad
Solution
Solution:
Answer 2998.
The sequence is completely determined by its first two elements. If the largest element of the sequence is , then it must occur as one of the first two elements. Because and are both smaller than the largest of the first two elements and hence all subsequent elements are too.
Let be the length of the sequence with , . It is straightforward to verify by induction that , , , , . A rather more fiddly induction then shows that these are the best possible lengths. Hence the longest sequence with no element more than 1998 is that starting which has length 2998.
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.