Problem 5. A square with an integer side length was cut into 2020 squares. It is known that the areas of 2019 squares are 1, and the area of the 2020th square is not equal to 1. Find all possible values that the area of the 2020th square can take. In your answer, provide the smallest of the obtained area values.
Answer: 112225.

![](https://cdn.mathpix.com/cropped/2024_05_06_a13602c1f88f146c00e7g-2.jpg?height=451&width=1707&top_left_y=2253&top_left_x=240)