Problem #WSP-6005

Problem

For prime number \(p=4t+1\) the equation \(s^2\equiv -1\) has two distinct solutions in \(\{1,2,...,p-1\}\), for the prime \(p=2\) there is only one solution, for \(p=4t+3\) there are no solutions.