Copyright © University of Cambridge. All rights reserved.

In a sequence of positive integers, every term after the first two terms is the sum of the two previous terms in the sequence.

If the fifth term is $2004$, what is the maximum possible value of the first term?

If you liked this problem, here is an NRICH task which challenges you to use similar mathematical ideas.

*This problem is taken from the UKMT Mathematical Challenges.**View the archive of all weekly problems grouped by curriculum topic*