MathDB
Q11 - Hanoi Open Mathematical Olympiad 2012 - Junior Section

Source:

June 10, 2012
modular arithmeticgreatest common divisor

Problem Statement

Q11. Let be given a sequense a1=5,  a2=8a_1=5, \; a_2=8 and an+1=an+3an1,n=1,2,3,...a_{n+1}=a_n+3a_{n-1}, \qquad n=1,2,3,... Calculate the greatest common divisor of a2011a_{2011} and a2012a_{2012}.