MathCastle
ChallengeSuperchallengeInvariants & Monovariants

Invariants & Monovariants · Superchallenge problem

The numbers 1,2,…,20251, 2, \ldots, 2025 are written on a board. A move erases two numbers and writes their (nonnegative) DIFFERENCE. What is the smallest possible final number?