?

Number Theory

Free Version

Upgrade subject to access all content

Moderate

Number of Squares in Congruence Classes

NUMTH-SKK0WA

Let $p$ be a prime number. Denote by $\mathbb{Z}_p$ the set of congruence classes modulo $p$. Find the number of squares in $\mathbb{Z}_p$.

A

$p$

B

$p/2$

C

$(p-1)/2$

D

$(p+1)/2$

E

$\lceil (p+1)/2 \rceil$