MathDB
2020 Team #7

Source:

October 24, 2023
team test

Problem Statement

Alex scans the list of integers between 11 and 20202020 inclusive using the following algorithm. First, he reads off perfect squares between 11 and 20202020 in ascending order and removes these numbers from the list. Next, he reads off numbers now at perfect square indices in ascending order, which are 22, 66, 1212, ......, and removes these numbers from the list. He repeats this algorithm until he reads off 20202020, which is the nth number he has read o so far. Compute nn.