Problem

Source:

Tags: invariant



$101$ numbers are written on a blackboard: $1^2, 2^2, 3^2, \cdots, 101^2$. Alex choses any two numbers and replaces them by their positive difference. He repeats this operation until one number is left on the blackboard. Determine the smallest possible value of this number.