MathDB
Putnam 1985 A4

Source:

August 5, 2019
Putnam

Problem Statement

Define a sequence {ai}\left\{a_{i}\right\} by a1=3a_{1}=3 and ai+1=3aia_{i+1}=3^{a_{i}} for i1.i \geq 1. Which integers between 0000 and 9999 inclusive occur as the last two digits in the decimal expansion of infinitely many ai?a_{i} ?