7: Difference between revisions
No edit summary |
|||
| Line 21: | Line 21: | ||
|- | |- | ||
| [[satisfies property::regular prime]] || third regular prime || {{#lst:regular prime|list}} || | | [[satisfies property::regular prime]] || third regular prime || {{#lst:regular prime|list}} || | ||
|} | |||
==Discrete logarithm== | |||
{{discrete log facts to check against}} | |||
3 is a [[primitive root]] mod 7, so we can take that as the base of the [[discrete logarithm]]. We thus get an explicit bijection from the additive group of integers mod 6 to the multiplicative group of nonzero congruence classes mod 7, given by <math>m \mapsto 3^m</math>. The inverse of that mapping is the discrete logarithm, i.e., the discrete logarithm of <math>n</math> is <math>m</math> means <math>n \equiv 3^m \pmod 7</math>: | |||
{| class="sortable" border="1" | |||
! Congruence class mod 7 (written as smallest positive integer) !! Congruence class mod 7 (written as smallest magnitude integer) !! Discrete logarithm to base 3, written as integer mod 6 !! Is it a [[primitive root]] mod 7 (if and only if the discrete log is relatively prime to 6)? !! Is it s quadratic residue or nonresidue mod 7 (residue if discrete log is even, nonresidue if odd) | |||
|- | |||
| 1 || 1 || 0 || No || [[quadratic residue]] | |||
|- | |||
| 2 || 2 || 2 || No || [[quadratic residue]] | |||
|- | |||
| 3 || 3 || 1 || Yes || [[quadratic nonresidue]] | |||
|- | |||
| 4 || -3 || 4 || No || [[quadratic residue]] | |||
|- | |||
| 5 || -2 || 5 || Yes || [[quadratic nonresidue]] | |||
|- | |||
| 6 || -1 || 3 || No || [[quadratic nonresidue]] | |||
|} | |} | ||
Revision as of 22:29, 2 January 2012
This article is about a particular natural number.|View all articles on particular natural numbers
Summary
Factorization
The number 7 is a prime number.
Properties and families
| Property or family | Parameter values | First few numbers | Proof of satisfaction/membership/containment |
|---|---|---|---|
| prime number | fourth prime number | 2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97, [SHOW MORE]View list on OEIS | divide and check |
| Mersenne number | , i.e., | plug and check | |
| Mersenne prime (both a prime number and a Mersenne number) | same as for Mersenne number | combine above | |
| safe prime (odd prime such that half of that minus one is also prime) | second safe prime | 5, 7, 11, 23, 47, 59, 83, 107, 167, [SHOW MORE]View list on OEIS | plug and check is prime. |
| regular prime | third regular prime | 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 41, 43, 47, 53, 61, [SHOW MORE]View list on OEIS |
Discrete logarithm
Template:Discrete log facts to check against
3 is a primitive root mod 7, so we can take that as the base of the discrete logarithm. We thus get an explicit bijection from the additive group of integers mod 6 to the multiplicative group of nonzero congruence classes mod 7, given by . The inverse of that mapping is the discrete logarithm, i.e., the discrete logarithm of is means :
| Congruence class mod 7 (written as smallest positive integer) | Congruence class mod 7 (written as smallest magnitude integer) | Discrete logarithm to base 3, written as integer mod 6 | Is it a primitive root mod 7 (if and only if the discrete log is relatively prime to 6)? | Is it s quadratic residue or nonresidue mod 7 (residue if discrete log is even, nonresidue if odd) |
|---|---|---|---|---|
| 1 | 1 | 0 | No | quadratic residue |
| 2 | 2 | 2 | No | quadratic residue |
| 3 | 3 | 1 | Yes | quadratic nonresidue |
| 4 | -3 | 4 | No | quadratic residue |
| 5 | -2 | 5 | Yes | quadratic nonresidue |
| 6 | -1 | 3 | No | quadratic nonresidue |