Exercise · ZW-LAW-OF-QUADRATIC-RECIPROCITY-004 · ★☆☆ Basic

What is the supplement formula for \(\left(\frac{-1}{p}\right)\) when \(p\) is an odd prime?

Choose one option.

Show answer
  • D. \((-1)^{(p-1)/2}\)

Explanation

The symbol \(\left(\frac{-1}{p}\right)\) equals \((-1)^{(p-1)/2}\), which depends on \(p\) modulo 4. The option with \((p^2-1)/8\) belongs to the symbol of \(2\), not \(-1\).

Study Elementary number theory in ZWMath →

Review the concept: Law of quadratic reciprocity

The law of quadratic reciprocity relates the Legendre symbols \(\left(\frac{p}{q}\right)\) and \(\left(\frac{q}{p}\right)\) for distinct odd primes \(p\) and \(q\).

\[\left(\frac{p}{q}\right)\left(\frac{q}{p}\right)=(-1)^{\frac{(p-1)(q-1)}{4}}\]

More practice problems: law of quadratic reciprocity

← ZW-LAW-OF-QUADRATIC-RECIPROCITY-003 ZW-LAW-OF-QUADRATIC-RECIPROCITY-005 →