MathDB
Problems
Contests
National and Regional Contests
Serbia Contests
Serbia National Math Olympiad
2018 Serbia National Math Olympiad
2
2
Part of
2018 Serbia National Math Olympiad
Problems
(1)
Number of odd quadratic residues mod n
Source: Serbia MO 2018 P2
4/2/2018
Let
n
>
1
n>1
n
>
1
be an integer. Call a number beautiful if its square leaves an odd remainder upon divison by
n
n
n
. Prove that the number of consecutive beautiful numbers is less or equal to
1
+
⌊
3
n
⌋
1+\lfloor \sqrt{3n} \rfloor
1
+
⌊
3
n
⌋
.
number theory
Quadratic Residues
Sequence