(i) If d ≡ 1 (mod 8) or d ≡ 2 (mod 4) or d ≡ 3 (mod 4), then ε1 = ε4; (ii) if d ≡ 5 (mod 8), then ε1 = ε4 if u4 is even, whereas if u4 is odd, then ε1 = ε43; (iii) if d ≡ 0 (mod 4), then ε1 = ε4 if u4 is even, whereas if u4 is odd, then ε1 = ε42.
Enter d (1 < d < 1010, d nonsquare):
Last modified 15th May 2017 Return to main page