Problem

NT-B2-M12-P012 A Recurrence Modulo \(m\)

#12 Grade 9 Grade 10 ★★★☆☆ Level 3 of 5

Let \(u_{n+2}=3u_{n+1}+2u_n\), where \(u_0,u_1\) are integers. Prove that the sequence \(u_n\) modulo \(m\) is eventually periodic.