In modular arithmetic, the integerscoprime (relatively prime) to n from the set of n non-negative integers form a group under multiplication modulo n, called the multiplicative group of integers modulo n. Equivalently, the elements of this group can be thought of as the congruence classes, also known as residues modulo n, that are coprime to n.
Hence another name is the group of primitive residue classes modulo n.
In the theory of rings, a branch of abstract algebra, it is described as the group of units of the ring of integers modulo n. Here units refers to elements with a multiplicative inverse, which, in this ring, are exactly those coprime to n.
It is a straightforward exercise to show that, under multiplication, the set of congruence classes modulo n that are coprime to n satisfy the axioms for an abelian group.
Indeed, a is coprime to n if and only if gcd(a, n) = 1. 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 multiplication.
Integer multiplication respects the congruence classes, that is, a ≡ a' and b ≡ b' (mod n) implies ab ≡ a'b' (mod n).
This implies that the multiplication is associative, commutative, and that the class of 1 is the unique multiplicative identity.
Finally, given a, the multiplicative inverse of a modulo n is an integer x satisfying ax ≡ 1 (mod n).
It exists precisely when a is coprime to n, because in that case gcd(a, n) = 1 and by Bézout's lemma there are integers x and y satisfying ax + ny = 1. Notice that the equation ax + ny = 1 implies that x is coprime to n, so the multiplicative inverse belongs to the group.
Notation
The set of (congruence classes of) integers modulo n with the operations of addition and multiplication is a ring.
It is denoted or (the notation refers to taking the quotient of integers modulo the ideal or consisting of the multiples of n).
Outside of number theory the simpler notation is often used, though it can be confused with the p-adic integers when n is a prime number.
The multiplicative group of integers modulo n, which is the group of units in this ring, may be written as (depending on the author) (for German Einheit, which translates as unit), , or similar notations. This article uses
The notation refers to the cyclic group of order n.
It is isomorphic to the group of integers modulo n under addition.
Note that or may also refer to the group under addition.
For example, the multiplicative group for a prime p is cyclic and hence isomorphic to the additive group , but the isomorphism is not obvious.
Structure
The order of the multiplicative group of integers modulo n is the number of integers in coprime to n. It is given by Euler's totient function: (sequence A000010 in the OEIS).
For prime p, .
The group is cyclic if and only if n is 1, 2, 4, pk or 2pk, where p is an odd prime and k > 0. For all other values of n the group is not cyclic.[1][2][3]
This was first proved by Gauss.[4]
This means that for these n:
where
By definition, the group is cyclic if and only if it has a generatorg (a generating set {g} of size one), that is, the powers give all possible residues modulo n coprime to n (the first powers give each exactly once).
A generator of is called a primitive root modulo n.[5]
If there is any generator, then there are of them.
Powers of 2
Modulo 1 any two integers are congruent, i.e., there is only one congruence class, [0], coprime to 1. Therefore, is the trivial group with φ(1) = 1 element. Because of its trivial nature, the case of congruences modulo 1 is generally ignored and some authors choose not to include the case of n = 1 in theorem statements.
Modulo 2 there is only one coprime congruence class, [1], so is the trivial group.
Modulo 4 there are two coprime congruence classes, [1] and [3], so the cyclic group with two elements.
Modulo 8 there are four coprime congruence classes, [1], [3], [5] and [7]. The square of each of these is 1, so the Klein four-group.
Modulo 16 there are eight coprime congruence classes [1], [3], [5], [7], [9], [11], [13] and [15]. is the 2-torsion subgroup (i.e., the square of each element is 1), so is not cyclic. The powers of 3, are a subgroup of order 4, as are the powers of 5, Thus
The pattern shown by 8 and 16 holds[6] for higher powers 2k, k > 2: is the 2-torsion subgroup, so cannot be cyclic, and the powers of 3 are a cyclic subgroup of order 2k − 2, so:
Similarly, the group of units is the direct product of the groups corresponding to each of the prime power factors:
For each odd prime power the corresponding factor is the cyclic group of order , which may further factor into cyclic groups of prime-power orders.
For powers of 2 the factor is not cyclic unless k = 0, 1, 2, but factors into cyclic groups as described above.
The order of the group is the product of the orders of the cyclic groups in the direct product.
The exponent of the group, that is, the least common multiple of the orders in the cyclic groups, is given by the Carmichael function (sequence A002322 in the OEIS).
In other words, is the smallest number such that for each a coprime to n, holds.
It divides and is equal to it if and only if the group is cyclic.
Subgroup of false witnesses
If n is composite, there exists a possibly proper subgroup of , called the "group of false witnesses", comprising the solutions of the equation , the elements which, raised to the power n − 1, are congruent to 1 modulo n.[8]Fermat's Little Theorem states that for n = p a prime, this group consists of all ; thus for n composite, such residues x are "false positives" or "false witnesses" for the primality of n. The number x = 2 is most often used in this basic primality check, and n =341 = 11 × 31 is notable since , and n = 341 is the smallest composite number for which x = 2 is a false witness to primality. In fact, the false witnesses subgroup for 341 contains 100 elements, and is of index 3 inside the 300-element group .
Examples
n = 9
The smallest example with a nontrivial subgroup of false witnesses is 9 = 3 × 3. There are 6 residues coprime to 9: 1, 2, 4, 5, 7, 8. Since 8 is congruent to −1 modulo 9, it follows that 88 is congruent to 1 modulo 9. So 1 and 8 are false positives for the "primality" of 9 (since 9 is not actually prime). These are in fact the only ones, so the subgroup {1,8} is the subgroup of false witnesses. The same argument shows that n − 1 is a "false witness" for any odd composite n.
n = 91
For n = 91 (= 7 × 13), there are residues coprime to 91, half of them (i.e., 36 of them) are false witnesses of 91, namely 1, 3, 4, 9, 10, 12, 16, 17, 22, 23, 25, 27, 29, 30, 36, 38, 40, 43, 48, 51, 53, 55, 61, 62, 64, 66, 68, 69, 74, 75, 79, 81, 82, 87, 88, and 90, since for these values of x, x90 is congruent to 1 mod 91.
n = 561
n = 561 (= 3 × 11 × 17) is a Carmichael number, thus s560 is congruent to 1 modulo 561 for any integer s coprime to 561. The subgroup of false witnesses is, in this case, not proper; it is the entire group of multiplicative units modulo 561, which consists of 320 residues.
Examples
This table shows the cyclic decomposition of and a generating set for n ≤ 128. The decomposition and generating sets are not unique; for example,
(but ). The table below lists the shortest decomposition (among those, the lexicographically first is chosen – this guarantees isomorphic groups are listed with the same decompositions). The generating set is also chosen to be as short as possible, and for n with primitive root, the smallest primitive root modulo n is listed.
For example, take . Then means that the order of the group is 8 (i.e., there are 8 numbers less than 20 and coprime to it); means the order of each element divides 4, that is, the fourth power of any number coprime to 20 is congruent to 1 (mod 20). The set {3,19} generates the group, which means that every element of is of the form 3a × 19b (where a is 0, 1, 2, or 3, because the element 3 has order 4, and similarly b is 0 or 1, because the element 19 has order 2).
Smallest primitive root mod n are (0 if no root exists)
Gauss, Carl Friedrich (1965), Untersuchungen uber hohere Arithmetik (Disquisitiones Arithemeticae & other papers on number theory) (German translation, Second edition), translated by Maser, H., New York: Chelsea, ISBN978-0-8284-0191-3
Riesel, Hans (1994), Prime Numbers and Computer Methods for Factorization (second edition), Boston: Birkhäuser, ISBN978-0-8176-3743-9
كلية الحدباء الجامعة معلومات التأسيس 1994 الموقع الجغرافي إحداثيات 36°20′41″N 43°08′41″E / 36.344732660087°N 43.144640918066°E / 36.344732660087; 43.144640918066 البلد العراق إحصاءات تعديل مصدري - تعديل كلية الحدباء الجامعة هي كلية أهلية تأسست عام 1994.[1] أقسام الكلية تضم الكلية 9 ...
هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (ديسمبر 2019) هو عملية يكرر فيها الطلاب نفس الصف بسبب إخفاقهم في السنة السابقة، ويمكن لهؤلاء الطلاب أن يعيدوا السنة مرة واحدة فقط ولمدة سنة واحدة[1]، ولا يعيد الطل...
Cet article est une ébauche concernant une fête et la Finlande. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Drapeau finlandais dressé à Helsinki. Les fêtes et jours fériés en Finlande sont établis par l'Eduskunta, le parlement du pays. Selon la loi, le pavillon finlandais doit être déployé sur les bâtiments publics certains jours comme le 28 février (jour de Kalevala également connu sous l'appel...
The Right HonourableThe Baroness Kennedy of CradleyDeputy General Secretary of the Labour PartyIn office2006–2011Serving with Chris Lennie (2001-2011)LeaderTony BlairGordon BrownEd MilibandMember of the House of LordsLord TemporalIncumbentAssumed office 19 September 2013Life peerage Personal detailsBorn (1969-03-22) 22 March 1969 (age 54)Political partyNon-affiliatedOther politicalaffiliationsLabour Party(until June 2020)SpouseLord Kennedy of SouthwarkAlma materUniversity o...
هذه المقالة يتيمة إذ تصل إليها مقالات أخرى قليلة جدًا. فضلًا، ساعد بإضافة وصلة إليها في مقالات متعلقة بها. (مارس 2019) لورنس كيلي معلومات شخصية الميلاد 1 ديسمبر 1946 (77 سنة) كورك مواطنة أيرلندا مناصب نائب دييل[1] عضو خلال الفترة29 يونيو 1989 – 5 نوفمبر 1992 انتخب...
François Ozon auf der Berlinale 2022 François Ozon (* 15. November 1967 in Paris) ist ein französischer Filmregisseur und Drehbuchautor. Inhaltsverzeichnis 1 Leben und Werk 2 Filmografie (Auswahl) 3 Literatur 4 Weblinks 5 Einzelnachweise Leben und Werk François Ozon ist der Sohn einer Französischlehrerin und eines Biologen. In seiner Kindheit arbeitete er als Fotomodell. Er studierte Regie an der französischen Filmhochschule La Fémis. Nach mehreren Kurzfilmen verhalf ihm sein knapp einst
العلاقات السويدية الكرواتية السويد كرواتيا السويد كرواتيا تعديل مصدري - تعديل العلاقات السويدية الكرواتية هي العلاقات الثنائية التي تجمع بين السويد وكرواتيا.[1][2][3][4][5] مقارنة بين البلدين هذه مقارنة عامة ومرجعية للدولتين: وجه المقارنة
حادث طائرة القوات الجوية الجزائرية 2018 طائرة من نفس النوع تابعة للقوات الجوية الجزائرية ملخص الحادث التاريخ 11 أبريل 2018 البلد الجزائر[1] الموقع مطار بوفاريك، بلدية بوفاريك، ولاية البليدة، الجزائر إحداثيات 36°32′32″N 2°51′59″E / 36.54222222°N 2.86638889°E / 36.54222222; 2.86638889...
Indian politician Manubhai PancholiBorn(1914-10-15)15 October 1914Panchashiya, Morbi district, Gujarat, IndiaDied29 August 2001(2001-08-29) (aged 86)Sanosara, Bhavnagar, GujaratPen nameDarshakOccupationNovelist, author, educationist and politicianLanguageGujaratiNotable awards Ranjitram Suvarna Chandrak (1964) Sahitya Akademi Award to Gujarati Writers (1975) Moortidevi Award (1987) Padma Bhusan (1991) Jamnalal Bajaj Award (1996) Saraswati Samman (1997) Spouse Vijayaben Patel &...
Award Award 2022 Nobel Prize in LiteratureAnnie Ernauxfor the courage and clinical acuity with which she uncovers the roots, estrangements and collective restraints of personal memoryDate 6 October 2022 (2022-10-06) (announcement) 10 December 2022 (ceremony) LocationStockholm, SwedenPresented bySwedish AcademyWebsiteOfficial website ← 2021 · Nobel Prize in Literature · 2023 → The 2022 Nobel Prize in Literature was awarded to the French author A...
Historic district in North Carolina, United States United States historic placeEast Marion–Belvedere Park Historic DistrictU.S. National Register of Historic PlacesU.S. Historic district Julius Suttle HouseShow map of North CarolinaShow map of the United StatesLocationRoughly bounded by Cline, Chestnut, E. Marion Sts., Edgemont Ave, Belvedere Aves., and Elizabeth Rd., Shelby, North CarolinaCoordinates35°17′28″N 81°32′40″W / 35.29111°N 81.54444°W / 35.2911...
German association football player Khedira redirects here. For his younger brother (also a footballer), see Rani Khedira. Sami Khedira Khedira with Germany in 2018Personal informationFull name Sami Khedira[1]Date of birth (1987-04-04) 4 April 1987 (age 36)[2]Place of birth Stuttgart, West GermanyHeight 1.89 m (6 ft 2 in)[3]Position(s) Central midfielderYouth career1992–1995 TV Oeffingen1995–2004 VfB StuttgartSenior career*Years Team Apps (Gls)20...
Unincorporated community in Larimer County, Colorado, United States This article includes a list of references, related reading, or external links, but its sources remain unclear because it lacks inline citations. Please help to improve this article by introducing more precise citations. (November 2014) (Learn how and when to remove this template message) Waverly School front exterior. The school was built in 1918 and served as K-12 school until 1960, when it was merged with the Poudre School...
Національний проєкт дизайнерського мистецтва FashionGlobusUkraine Тип організаціяЗасновано 1 жовтня 2014Країна УкраїнаРозташування Україна м. Київ, ТВК «ГЛОБУС» 3 лінія Майдан Незалежності, 1Місце діяльності КиївЗасновник Голда Віноградська Вебсайт: www.fashionglobusukraine.com Націо...
Un institut de théologie évangélique ou séminaire théologique ou institut biblique, école biblique ou collège biblique, est une institution chrétienne protestante ou évangélique d'enseignement supérieur, qui prépare les étudiants au ministère chrétien et leur offre une éducation théologique, des études bibliques et une formation pratique au ministère, pour devenir missionnaire, pasteur, diacre ou chantre. Histoire Spurgeon's College, à Londres La formation théologique a s...
Cet article est une ébauche concernant la Serbie et le droit. Vous pouvez partager vos connaissances en l’améliorant (comment ?) selon les recommandations des projets correspondants. Pour les articles homonymes, voir Tadić. Duško Tadić Données clés Alias « Dule », « Duško » Naissance 1er octobre 1955 (68 ans) Kozarac (Yougoslavie) Nationalité serbe Pays de résidence Serbie modifier Duško Tadić, aussi appelé « Dule » ou « Dušk...
The Amazing Race: Family Edition Pertama tayang 27 September 2005 – 13 Desember 2005 Tanggal pengambilan film 7 Juli 2005 – 31 Juli 2005 Jumlah episode 12 Pemenang Nick, Alex, Megan, and Tommy Linz Benua yang dikunjungi 1 Negara yang dikunjungi 4 Negara bagian yang dikunjungi 12 Kota yang dikunjungi 50 Jarak perjalanan 11.000 mil (17.702 kilometer) Jumlah leg perlombaan 11 Kronologi Musim Sebelumnya The Amazing Race 7 Selanjutnya The Amazing Race 9 The Amazing Race: Family Edition...
The Utrecht ship at the Centraal Museum in Utrecht, Netherlands History NameUtrecht ship Completed997-1030 FateMuseum ship General characteristics TypeCargo ship Length17.8 metres (58 ft) Beam3.8 m (12 ft) Draft0.7 metres (2.3 ft) PropulsionSail Sail planRhine river The Utrecht ship is a tenth-century cargo ship found during excavation works at the Van Hoornekade in Northern Utrecht, Netherlands, in 1930. It is displayed at the Centraal Museum in Utrecht, Netherlands. It i...
American writer Emily Ruskovich Emily Ruskovich (/ˈrʌskəvɪtʃ/ RUSS-kə-vitch[1]) is an American writer who won the 2019 International Dublin literary award for her novel Idaho.[2] She grew up in the Idaho Panhandle on Hoodoo Mountain.[3] She graduated from the Iowa Writers’ Workshop in 2011 and is an assistant professor at the University of Montana where she teaches creative writing; she was formerly on the faculty of Boise State University. She lives in the mou...