MathDB
2018 COMC A4

Source:

December 6, 2018
Comc2018 COMC

Problem Statement

Source: 2018 Canadian Open Math Challenge Part A Problem 4 —--
In the sequence of positive integers, starting with 2018,121,16,...2018, 121, 16, ... each term is the square of the sum of digits of the previous term. What is the 2018th2018^{\text{th}} term of the sequence?