enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Quadratic residue - Wikipedia

    en.wikipedia.org/wiki/Quadratic_residue

    The quadratic excess E ( p) is the number of quadratic residues on the range (0, p /2) minus the number in the range ( p /2, p) (sequence A178153 in the OEIS ). For p congruent to 1 mod 4, the excess is zero, since −1 is a quadratic residue and the residues are symmetric under r ↔ p − r.

  3. Euler's criterion - Wikipedia

    en.wikipedia.org/wiki/Euler's_criterion

    We can find quadratic residues or verify them using the above formula. To test if 2 is a quadratic residue modulo 17, we calculate 2 (17 − 1)/2 = 2 8 ≡ 1 (mod 17), so it is a quadratic residue. To test if 3 is a quadratic residue modulo 17, we calculate 3 (17 − 1)/2 = 3 8 ≡ 16 ≡ −1 (mod 17), so it is not a quadratic residue.

  4. Quadratic reciprocity - Wikipedia

    en.wikipedia.org/wiki/Quadratic_reciprocity

    If q ≡ 1 (mod 4) then q is a quadratic residue (mod p) if and only if there exists some integer b such that p ≡ b 2 (mod q). If q ≡ 3 (mod 4) then q is a quadratic residue (mod p) if and only if there exists some integer b which is odd and not divisible by q such that p ≡ ±b 2 (mod 4q). This is equivalent to quadratic reciprocity.

  5. Jacobi symbol - Wikipedia

    en.wikipedia.org/wiki/Jacobi_symbol

    If (⁠ a / n ⁠) = 1 then a may or may not be a quadratic residue modulo n. This is because for a to be a quadratic residue modulo n, it has to be a quadratic residue modulo every prime factor of n. However, the Jacobi symbol equals one if, for example, a is a non-residue modulo exactly two of the prime factors of n.

  6. Modular arithmetic - Wikipedia

    en.wikipedia.org/wiki/Modular_arithmetic

    Quadratic residue: An integer a is a quadratic residue modulo m, if there exists an integer x such that x 2 ≡ a (mod m). Euler's criterion asserts that, if p is an odd prime, and a is not a multiple of p, then a is a quadratic residue modulo p if and only if a (p−1)/2 ≡ 1 (mod p).

  7. Fermat's theorem on sums of two squares - Wikipedia

    en.wikipedia.org/wiki/Fermat's_theorem_on_sums_of...

    In additive number theory, Fermat 's theorem on sums of two squares states that an odd prime p can be expressed as: with x and y integers, if and only if. The prime numbers for which this is true are called Pythagorean primes . For example, the primes 5, 13, 17, 29, 37 and 41 are all congruent to 1 modulo 4, and they can be expressed as sums of ...

  8. Gauss's lemma (number theory) - Wikipedia

    en.wikipedia.org/wiki/Gauss's_lemma_(number_theory)

    Gauss's lemma in number theory gives a condition for an integer to be a quadratic residue. Although it is not useful computationally, it has theoretical significance, being involved in some proofs of quadratic reciprocity . It made its first appearance in Carl Friedrich Gauss 's third proof (1808) [1] : 458–462 of quadratic reciprocity and he ...

  9. Safe and Sophie Germain primes - Wikipedia

    en.wikipedia.org/wiki/Safe_and_Sophie_Germain_primes

    Combining both forms using lcm(6, 4) we determine that a safe prime q > 7 also must be of the form 12k − 1 or, equivalently, q ≡ 11 (mod 12). It follows that, for any safe prime q > 7: both 3 and 12 are quadratic residues mod q (per law of quadratic reciprocity) neither 3 nor 12 is a primitive root of q