Solving n^2+1 / n + 1 mod 2 if = any positive integer without a decimal.
If you run this you will get 1 only. 1 is the correct answer.