enow.com Web Search

Search results

  1. Results from the WOW.Com Content Network
  2. Modular arithmetic - Wikipedia

    en.wikipedia.org/wiki/Modular_arithmetic

    The congruence relation is an equivalence relation. The equivalence class modulo m of an integer a is the set of all integers of the form a + k m, where k is any integer. It is called the congruence class or residue class of a modulo m, and may be denoted as (a mod m), or as a or [a] when the modulus m is known from the context.

  3. Zeller's congruence - Wikipedia

    en.wikipedia.org/wiki/Zeller's_congruence

    Zeller's congruence. Zeller's congruence is an algorithm devised by Christian Zeller in the 19th century to calculate the day of the week for any Julian or Gregorian calendar date. It can be considered to be based on the conversion between Julian day and the calendar date.

  4. Multiplicative group of integers modulo n - Wikipedia

    en.wikipedia.org/wiki/Multiplicative_group_of...

    Integers in the same congruence class a ≡ b (mod n) satisfy gcd(a, n) = gcd(b, n); hence one is coprime to n if and only if the other is. Thus the notion of congruence classes modulo n that are coprime to n is well-defined. Since gcd(a, n) = 1 and gcd(b, n) = 1 implies gcd(ab, n) = 1, the set of classes coprime to n is closed under ...

  5. Modular multiplicative inverse - Wikipedia

    en.wikipedia.org/wiki/Modular_multiplicative_inverse

    The congruence relation, modulo m, partitions the set of integers into m congruence classes. Operations of addition and multiplication can be defined on these m objects in the following way: To either add or multiply two congruence classes, first pick a representative (in any way) from each class, then perform the usual operation for integers on the two representatives and finally take the ...

  6. Modulo (mathematics) - Wikipedia

    en.wikipedia.org/wiki/Modulo_(mathematics)

    Modulo is a mathematical jargon that was introduced into mathematics in the book Disquisitiones Arithmeticae by Carl Friedrich Gauss in 1801. [3] Given the integers a, b and n, the expression "a ≡ b (mod n)", pronounced "a is congruent to b modulo n", means that a − b is an integer multiple of n, or equivalently, a and b both share the same remainder when divided by n.

  7. Tonelli–Shanks algorithm - Wikipedia

    en.wikipedia.org/wiki/Tonelli–Shanks_algorithm

    Tonelli–Shanks algorithm. The Tonelli–Shanks algorithm (referred to by Shanks as the RESSOL algorithm) is used in modular arithmetic to solve for r in a congruence of the form r2 ≡ n (mod p), where p is a prime: that is, to find a square root of n modulo p. Tonelli–Shanks cannot be used for composite moduli: finding square roots modulo ...

  8. Quadratic residue - Wikipedia

    en.wikipedia.org/wiki/Quadratic_residue

    Let p be an odd prime. 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.

  9. Primitive root modulo n - Wikipedia

    en.wikipedia.org/wiki/Primitive_root_modulo_n

    Primitive root modulo. n. In modular arithmetic, a number g is a primitive root modulo n if every number a coprime to n is congruent to a power of g modulo n. That is, g is a primitive root modulo n if for every integer a coprime to n, there is some integer k for which gk ≡ a (mod n). Such a value k is called the index or discrete logarithm ...