MathDB
Successive terms of a sequence which are divisible by m

Source: Polish Mathematical Olympiad 2004 Final Round Problem 6

February 7, 2010
number theory proposednumber theory

Problem Statement

An integer m>1 m > 1 is given. The infinite sequence (xn)n0 (x_n)_{n\ge 0} is defined by x_i\equal{}2^i for i<m i<m and x_i\equal{}x_{i\minus{}1}\plus{}x_{i\minus{}2}\plus{}\cdots \plus{}x_{i\minus{}m} for im i\ge m. Find the greatest natural number k k such that there exist k k successive terms of this sequence which are divisible by m m.