MathDB
2019 Greece National Olympiad Q1

Source: 2019 Greece National Olympiad

March 11, 2019
number theory

Problem Statement

Define the sequnce (an)n1{(a_n)}_{n\ge1} by a1=1a_1=1 and an=5an1+3n1a_n=5a_{n-1}+3^{n-1} for n2n\ge2. Find the greatest power of 22 that divides a22019a_{2^{2019}}.