MathLabs

Problem 3

Prove that there are infinitely many positive integers nn such that n2+1n^2+1 has a prime factor greater than 2n+2n2n+\sqrt{2n}.
Step 2 of 6: Choose x with x^2 = -1 mod p in the upper half of the residues
p≡1(mod4)  ⟹  ∃ x∈(p2,p), x2≡−1(modp);x=p+12+t, t≥0p\equiv1\pmod4 \implies \exists\, x\in(\tfrac p2,p),\ x^2\equiv-1\pmod p; \quad x=\tfrac{p+1}2+t,\ t\ge0
Detailed analysis

Since p≡1(mod8)p\equiv1\pmod8 implies p≡1(mod4)p\equiv1\pmod4, the number −1-1 is a quadratic residue mod pp, so some integer squares to −1(modp)-1\pmod p; among its two square roots mod pp (which sum to pp), choose the one xx with p2<x<p\frac p2<x<p. Write x=p+12+tx=\frac{p+1}2+t for an integer t≥0t\ge0.