MathDB
Gunga P16

Source:

October 16, 2021
MOAA 2021Gunga

Problem Statement

Let 1,7,19,1,7,19,\ldots be the sequence of numbers such that for all integers n1n\ge 1, the average of the first nn terms is equal to the nnth perfect square. Compute the last three digits of the 20212021st term in the sequence.
Proposed by Nathan Xiong