MathDB
IMO ShortList 2003, number theory problem 1

Source: IMO ShortList 2003, number theory problem 1

October 4, 2004
modular arithmeticnumber theorySequenceDivisibilityIMO Shortlist

Problem Statement

Let mm be a fixed integer greater than 11. The sequence x0x_0, x1x_1, x2x_2, \ldots is defined as follows: xi={2iif 0im1;j=1mxijif im.x_i = \begin{cases}2^i&\text{if }0\leq i \leq m - 1;\\\sum_{j=1}^mx_{i-j}&\text{if }i\geq m.\end{cases} Find the greatest kk for which the sequence contains kk consecutive terms divisible by mm .
Proposed by Marcin Kuczma, Poland