I have this task to prove that the factorization of number $n = p \cdot q$ (where $p$ and $q$ are prime) task is equivalent to finding square root module n.
I have found this lecture that explains the proof itself and I do not question it, it is the example they show of pages 19-29 that causes confusion. It is different from similar question Split $n$ into nontrivial factors via a nontrivial square-root of $1\!\pmod{\!n}$, because I do not need the proof, I just want to know how the numbers we square are chosen. I understand that the lecture may give some explanation, but to me, they look completely separate and do not explain it.
"Factor n = 299.
$96^2 \equiv 246 \mod n$". Where in this case 96 comes from??
It looks like all the numbers that have been chosen in the example are less than 100 and are not random.
https://hyperelliptic.org/tanja/teaching/crypto21/rsa-6.pdf
Any help would be greatly appreciated.