MathDB
O 21

Source:

May 25, 2007

Problem Statement

A sequence of integers a1,a2,a3,a_{1}, a_{2}, a_{3}, \cdots is defined as follows: a1=1a_{1}=1, and for n1n \ge 1, an+1a_{n+1} is the smallest integer greater than ana_{n} such that ai+aj3aka_{i}+a_{j} \neq 3a_{k} for any i,j,i, j, and kk in {1,2,3,,n+1}\{1, 2, 3, \cdots, n+1 \}, not necessarily distinct. Determine a1998a_{1998}.