Problem

Source: IMO ShortList 1988, Problem 1, Bulgaria 1, Problem 1 of ILL

Tags: modular arithmetic, linear algebra, algebra, Sequence, Divisibility, Linear Recurrences, IMO Shortlist



An integer sequence is defined by \[{ a_n = 2 a_{n-1} + a_{n-2}}, \quad (n > 1), \quad a_0 = 0, a_1 = 1.\] Prove that $2^k$ divides $a_n$ if and only if $2^k$ divides $n$.