MathDB
last digit of a_{2021} if a_n = 7^{a_{n-1}}

Source: 2021 Chile National Olympiad level 2 p1

October 22, 2022
number theoryLast digitrecurrence relation

Problem Statement

Consider the sequence of numbers defined by a1=7a_1 = 7, a2=77a_2 = 7^7 , ... ... , an=7an1a_n = 7^{a_{n-1}} for n2n \ge 2. Determine the last digit of the decimal representation of a2021a_{2021}.