Translation:Disquisitiones Arithmeticae/Third Section: Difference between revisions

From testwiki
Jump to navigation Jump to search
imported>Luccul
 
(No difference)

Latest revision as of 20:33, 28 March 2024

Template:Translation header

fr:Recherches_arithmétiques


Template:Larger

Article 45

Template:Smaller

Template:Sc Let a be relatively prime to p. Then the geometric progression 1, a, aa, a3 etc. has at least one term at, aside than the first term 1, which is congruent to unity modulo p, and whose exponent t is <p.

Proof. Since the modulus p is relatively prime to a, and consequently is also relatively prime to any power of a, no term of the progression will be 0(modp) but each of them will be congruent to one of the numbers 1, 2, 3p1. Since the multitude of this series of numbers is p1, it is clear that if more than p1 terms of the progression are considered, they cannot all have different minimal residues. So among the numbers 1, a, a2, a3ap1, at least two will be congruent. Therefore, letting aman with m>n, and dividing by an (Art. [[../Second_Section#Article_22|22]]), we obtain amn1, where mn<p and >0. Q.E.D.

Ex. In the progression 1, 2, 4, 8 etc., the first term congruent to unity modulo 13 is 212=4096, but in the same progression modulo 23, we have 211=20481; similarly, 56=156251(mod7) and 55=31251(mod11). Thus in some cases, the exponent of the power congruent to unity is smaller than p1, and in other cases, one must go all the way to the p1st power.

Article 46

When the progression is continued beyond the term congruent to unity, one will find the same residues as those obtained from the beginning. Thus, if at1, we will have at+1a, at+2a2etc., until we reach the term a2t whose minimal residue will again be 1, and the period of residues will begin again. We will thus have a period of t residues, which always repeats itself from the beginning as soon as it is finished; and no residues other than those in this period can occur in the entire progression. In general, we will have amt1 and amt+nan; which can be represented in our notation as follows:

If rρ(modt), then araρ(modp).

Article 47

This theorem provides an expeditious method of finding residues of powers, regardless of the magnitude of the exponent they are raised to, as soon as the power congruent to unity is known. If e.g. one asks for the remainder which arises upon dividing 31000 by 13, then since 331(mod13), we have t3, and therefore, since 10001(mod3), we obtain 310003(mod13).

Article 48

If at is the smallest power congruent to unity, (excluding a0=1, a case which we do not consider), then the t residues that make up the period will all be distinct, as can be easily seen from the demonstration in Art. [[../Third_Section#Article_45|45]]. Then the proposition from Art. [[../Third_Section#Article_46|46]] can be reversed; namely, if aman(modp), we will have mn(modt). For if m and n were incongruent modulo t, their minimal residues μ and ν would be different. But aμam and aνan, hence aμaν, meaning that all powers below at would not be incongruent, contrary to the hypothesis.

So if ak1(modp), we will have k0(modt), meaning that k will be divisible by t.

So far we have only discussed moduli that are relatively prime to a. We will now separately consider absolutely prime moduli, and establish a more general investigation on this foundation.

Article 49

Template:Smaller

Template:Sc If p is a prime number that does not divide a, and at is the smallest power of a congruent to unity, the exponent t will be =p1, or an aliquot part of p1.

See Art. [[../Third_Section#Article_45|45]] for examples.

Since we have already proved that t is =p1 or <p1, it remains to show that in the latter case it is always an aliquot part of p1.

I. Let us gather the minimal positive residues of all the terms 1, a, aaat1, and denote them by α, α, αetc., so that we have α1, αa, αa2etc. It is clear that these will all be distinct; for if two terms am and an gave the same residue, then (assuming m>n) we would have amn1, and mn<t, which is absurd, since at is the smallest power of a congruent to unity (by hypothesis). Moreover, all numbers α, α, αetc. are included in the series 1, 2, 3, 4p1, a series they do not exhaust when t<p1. We will denote by (A) the complex of all these residues, which includes a total of t terms.

II. Let β be an arbitrary number from the series 1, 2, 3p1 which is missing from (A). Compute the products of β with α, α, α etc., and let their minimal residues be β, β, β etc., the number of which will also be t. These residues will be distinct, both from each other and also from the numbers α, α, αetc. Indeed, if the former assertion were false, we would have βamβan, and dividing by β would give us aman, contrary to what we have just demonstrated. If the latter were false, then we would have βaman. When m<n, this yields βanm, i.e. β would be congruent to one of the numbers α, α, αetc., contrary to the hypothesis; and when n<m, we will have, upon multiplying by atm, βaat+nm or, since at1, βat(mn), which is the same absurdity. Letting (B) denote the complex of the numbers β, β, β etc., whose multitude is t, we now have 2t numbers from the series 1, 2, 3, etc. p1. So, if (A) and (B) exhaust this series, then we have t=p12.

III. If some are missing, let γ be one of those. Multiply α, α, αetc., by γ, let γ, γ, γetc., be the minimal residues of these products, and let (C) denote the complex of all such residues. Then (C) will include t numbers taken from the series 1, 2, 3p1, which are distinct from both each other and the numbers in (A) and (B). The first two assertions are proven as in II. For the third, if we had γamβan, we would obtain either γβanm, or γβat+nm, depending on whether m<n or >n. In either case, γ would be congruent to one of the numbers in (B), contrary to the hypothesis. We will therefore have 3t numbers from the series 1, 2, 3p1, and if none are left over, then we will have t=p13, and the theorem has been demonstrated.

IV. But if there are still some left over, we will arrive in the same way at a fourth complex of numbers (D), and so on. Since the series 1, 2, 3p1 is finite, it will eventually be exhausted, and therefore p1 will be a multiple of t: thus t will be an aliquot part of p1. Q.E.D.

Article 50

Template:Smaller

Since p1t is an integer, raising each member of the congruence at1(modp) to the power p1tshows that ap11(modp); that is, ap11 will always be divisible by p, when p is prime and does not divide a.

This theorem, which is remarkable both for its elegance and its great utility, is usually called Fermat’s theorem, after the name of the inventor. See Fermatii Opera Mathem. Tolosae 1679 fol. p. 163. Fermat did not provide a proof, although he claimed to have found one. Euler was the first to publish it in his dissertation entitled Theorematum quorundam ad numeros primos spectantium demonstratio, Comm. Ac. Pétrop. T. VIII.[1] It is derived from the expansion of (a+1)p. From the form of the coefficients in this expansion, it is easy to deduce that (a+1)pap1 is always divisible by p, and consequently (a+1)p(a+1) will be divisible by p whenever apa is. Now since 1p1 is always divisible by p, 2p2 will be as well; hence so will be 3p3, and generally apa. Therefore, if p does not divide a, ap11 will be divisible by p. What we have just said is sufficient to understand the nature of the method. Lambert gave a similar proof in Actis Erudit. 1769, p. 109. But since the binomial expansion of a power seems alien to number theory, Euler provided another proof Comment. nov. Petr. T. VIII, p. 70. that exactly agrees with the one we have just presented. In the future, other proofs will be presented: here we will be content to give another one derived from the same principle as Euler’s. The following proposition, of which the theorem in question is only a particular case, will be useful for other investigations below.

Article 51

If p is a prime number, then the pth power of a+b+c+etc. is

ap+bp+cp+

etc. modulo p.

It is known that (a+b+c+ etc.)p is composed of terms of the form Paαbβcγetc. where we have α+β+γ+ etc.=p, P being the number of permutations of p objects, of which α, β, γ etc. are respectively equal to a, b, c etc. But in Art. [[../Second_Section#Article_41|41]] above we have shown that this number is always divisible by p, unless all the letters are equal to each other; i.e. unless one of the numbers α, β, γ etc., is =p and the others are =0. From this it follows that all the terms of the expansion, except ap, bp etc. are divisible by p, and therefore (a+b+c+ etc.)pap+bp+cp+ etc.(modp). If all the quantities a, b, c etc. are assumed to be =1, and their number is k, then we will have kpk, as in the previous article.

Article 52

Template:Smaller

Since the divisors of p1 are the only numbers that can serve as exponents for the smallest powers congruent to unity, one is led to ask whether all divisors of p1 enjoy this property; and, when classifying all numbers not divisible by p according to the exponent of their smallest power congruent to unity, how many there are for each exponent. We immediately observe that it suffices to consider positive numbers from 1 to p1: for it is clear that congruent numbers must be raised to the same power to become congruent to unity, and therefore any number must be raised to the same exponent as its minimum positive residue. We must therefore investigate how the numbers 1,2,3p1 are distributed among the factors of p1, in this respect.

For the sake of brevity, if d is one of the divisors of p1, (among which which 1 and p1 are to be included), we will denote by ψd the multitude of positive numbers less than p, whose dth power is the smallest power congruent to unity.

Article 53

In order to make ourselves more easily understood, we will first present an example. For p=19, the numbers 1,2,318 are distributed among the divisors of 18 as follows:

11.218.37,11.68,12.94,5,6,9,16,17.182,3,10,13,14,15.

So in this case ψ1=1, ψ2=1, ψ3=2, ψ6=2, ψ9=6, ψ18=6. With a little attention, one can see that the multitude of numbers belonging to each exponent is equal to the multitude of numbers relatively prime to and not greater than that exponent. Equivalently, retaining the notation of Art. [[../Second_Section#Articul_39|39]], we have ψd=ϕd. This observation can be proved in general, as follows.

I. If there is a number a belonging to the exponent d, i.e. one whose dth power is congruent to unity, and whose lower powers are incongruent, then its powers aa, a3, a4ad, or equivalently their minimal residues, will also have the property that their dth powers are congruent to unity. In other words, the minimal residues of the numbers a, aa, a3ad, which are all distinct, will be roots of the congruence xd1. Since this congruence can have no more than d distinct roots, it is clear that the minimal residues of a, a2, a3ad, are the only numbers between 1 and p1 whose dth powers are congruent to unity. Hence it follows that the numbers belonging to the exponent d can be found among the minimal residues of the numbers a, a2, a3ad. Which these are, and what their multitude is, will now be determined. If k is a number relatively prime to d, then none of the powers of ak, with exponent <d, will be congruent to unity. Indeed, suppose that 1k(modd)m (see Art. [[../Second_Section#Article_31|31]]). Then we will have akma, and thus if the eth power of ak were congruent to unity, with e<d, then we would also have akme1, and consequently ae1, contrary to the hypothesis. Hence it is clear that the minimal residue of ak belongs to the exponent d. On the other hand, if k had a common divisor δ with d, then the minimal residue of ak would not belong to the exponent d, since the dδth power of ak is congruent to unity (for kdδ is divisible by d, or equivalently 0(modd), and therefore akdδ1). From this we conclude that there are as many numbers belonging to the exponent d as there are numbers relatively prime to d in the series 1, 2, 3,,d. But it must be remembered that this conclusion is based on the supposition that there is already a number a belonging to the exponent d. Therefore, it remains doubtful whether every exponent has a number belonging to it, and the only conclusion we can draw is that ψd is either =0 or =ϕd.

Article 54

II. Let d, d, d etc. be the divisors of p1. Since the numbers 1, 2, 3p1 must be distributed among these divisors, we will have

ψd+ψd+ψd+=p1.

But (Art. [[../Second_Section#Article_40|40]]) we have shown that

ϕd+ϕd+ϕd+=p1,

and in the previous article we saw that ψd is less than or equal to =ϕd. The same goes for ψd and ϕd, etc. Therefore, if one or more of the terms in the sequence ψd, ψd, etc., were less than the corresponding term in the sequence ϕd, ϕd, etc., then the sum of the former could not be equal to the sum of the latter. Hence, we conclude that ψd and ϕd are always equal to each other, regardless of the magnitude of p1.

Article 55

The particular case of the previous proposition which most deserves our attention is the following: there always exist numbers such that none of their powers below the p1st is congruent to unity, and indeed, there are as many between the 1st and p1st as there are numbers less than and relatively prime to p1. Since the demonstration of this theorem is by no means as obvious as it may appear to be at first sight, it is worth giving another demonstration which is slightly different from the previous one, especially because a diversity of methods often contributes a great deal to the elucidation of obscure matters.

First decompose p1 into prime factors, so that p1=aαbβcγetc., where a, b, cetc. are distinct prime numbers. The proof of the theorem then proceeds according to the following steps:

I. We can always find a number A (or several) belonging to the exponent aα, and similarly numbers B, C etc. belonging to the exponents bβ, cγ etc.,

II. The product of the numbers A, B, C etc., or the minimal residue of this product, belongs to the exponent p1. This can be proved as follows.

I. Since the congruence xp1a1(modp) has degree <p1, it cannot be satisfied by all numbers in the series 1, 2, 3p1. Therefore, we can find such a number g which does not satisfy the congruence. If we then set h=gp1a, I claim that the minimal residue of h belongs to the exponent aα.

Indeed, it is clear that haα is congruent to gp1, i.e. to unity, but haα1 is congruent to gp1a, which is not congruent to unity. No less will the powers haα2, haα3 be congruent to unity. But the exponent of the smallest power of h which is congruent to unity, that is the exponent to which h belongs, must be a divisor of aα (Art. 48); and since aα is only divisible by itself and by lower powers of a, it necessarily follows that aα will be the exponent to which b belongs. It can be shown by a similar method that one can find numbers belonging to the exponents bβ, cγetc.

II. If we assume that the product of all numbers A, B, C etc. does not belong to the exponent p1 etc., but rather to a smaller exponent t, then t must be one of the divisors of p1 (Art. 48), or in other words p1t will be an integer greater than unity. It follows that this quotient will be one of the prime numbers a, b, c etc., or at least divisible by one of them (Art. [[../Second_Section#Article_17|17]]), e.g. by a, as the reasoning would be the same for the others. Thus t will divide p1a, and so the product ABC etc., raised to the power p1a, would still be congruent to unity (Art. 46). But it is clear that all numbers B, C, D etc. (except A) become congruent to unity when raised to the power p1a, since the exponents bβ, cγ,etc. to which they belong, divide p1a. Therefore

Ap1aBp1aCp1aetc.Ap1a1,

so aα must divide p1a (Art. 48), i.e. p1aα+1 is an integer; but p1aα+1bβcγetc.a is not an integer (Art. [[../Second_Section/#Article_15|15]]). Therefore our assumption cannot hold, i.e. the product ABC etc. actually belongs to the exponent p1.

This proof seems a bit longer than the first one, but it is more direct.

Article 56

This theorem provides us with a remarkable example of the circumspection needed in number theory, so as not to consider as proven things that are not. Lambert, refers to this proposition in the dissertation we have praised above, Acta Erudit. 1769 p. 127, but he says nothing about the necessity of proving it. No one has even attempted to do so, except the great Euler, Comment. nov. Ac. Petrop. T. XVIII, 1774, p. 85, Demonstrationes circa residua ex divisione potestatum per numeros primos resultantia. See especially article 37, in which he extensively discussed the need to prove this proposition. However, the demonstration of this penetrating man has two defects; one is that he tacitly assumes, starting in article 31, that the congruence xn1 (translating his arguments into our notation) actually has n different roots, while it was only demonstrated that this congruence cannot have more; the other is that he only deduces the formula of Art. [[../Second_Section#Article_34|34]] by induction.

Article 57

Template:Smaller

Following Euler, we will call the numbers that belong to the exponent p1 primitive roots. So if a is a primitive root, then all the minimal residues of the powers a, a2, a3ap1 will be distinct, from which one easily deduces that they all lie among the numbers 1, 2, 3p1, which are in the same number as them, i.e. that every number not divisible by p is congruent to some power of a. This remarkable property is of great utility, and can considerably shorten the arithmetic operations related to congruences, in much the same way that the introduction of logarithms shortens the operations of ordinary arithmetic. We will take an arbitrarily chosen primitive root a as the base, to which we will refer all numbers not divisible by p, and if aeb(modp), we will call e the index of b. E.g. for the modulus 19, if we take the primitive root 2 as the base, then the numbers123456789101112131415161718have indices01132161463817121557114109

Moreover, it is clear that for a given base each number has several indices, but these are all congruent modulo p1; thus indices which are congruent modulo p1 will be considered equivalent, just as numbers are considered equivalent when they are congruent modulo p.

Article 58

Template:Smaller

The theorems concerning indices are precisely analogous to those concerning logarithms.

The index of a product of any number of factors is congruent to the sum of the indices of the different factors, modulo p1.

The index of a power of a number is congruent, modulo p1, to the product of the exponent by the index of the given number.

We omit the proofs because of their simplicity.

Thus if we wanted to construct a table that gives the indices of all numbers for various moduli, then all numbers larger than the modulus and all composite numbers could be omitted. An attempt at such a table can be found at the end of this work (Tab. [[../Tables#Table_I|I]]). The prime numbers and powers of prime numbers from 3 to 97, which are to be regarded as moduli, can be found in the first column. The numbers taken as bases are in the nexdt column; then follow the indices of successive prime numbers, which are written in groups of five each; at the top are the prime numbers arranged in the same order, so that one can easily find the index that corresponds to a given prime number, for a given modulus.

E.g. if p=67, then the index of the number 60, with 12 taken as the base, will be

2Ind.2+Ind.3+Ind.558+9+3940(mod66)

Article 59

The index of the value of any expression ab(modp), (Art. [[../Second_Section#Article_31|31]]) is congruent modulo p1 to the difference of the indices of the numerator a and the denominator b, provided that the numbers a and b are not divisible by p.

Let c be any value of this expression; we will have bca(modp); hence

Ind.b+Ind.cInd.a(modp1),

and therefore

Ind.cInd.aInd.b.

Therefore, if we have two tables, one giving the indices corresponding to each number for some modulus, and the other giving the numbers corresponding to given indices, then we can easily solve all linear congruences, since they can always be reduced to others with prime moduli (Art. [[../Second_Section#Article_30|30]]). E.g. for the congruence

29x+70(mod47)

we have

x729(mod47)

Thus,

Ind.xInd.7Ind.29Ind.40Ind.29154318(mod46);

Now 3 is the number with index 18; therefore x3(mod47). We have not added the second table; but another can be used in its place, as we will show in Sect. VI.

Article 60

Template:Smaller

Just as we introduced notation for the roots of first degree congruencesin Art. [[../Second_Section#Article_31|31]], in what follows we will introduce another sign for the roots of pure congruences of higher degrees. Just as the symbol An represents nothing other than a root of the equation xnA, so will the symbol An(modp) represent an arbitrary root of the congruence xnA(modp). Thus we will say that the expression An(modp) has as many values as it has incongruent ones modulo p, because all those congruent modulo p must be considered equivalent (Art. [[../Second_Section#Article_26|26]]). Furthermore, it is clear that if A and B are congruent modulo p, then the expressions An(modp) and Bn(modp) will be equivalent.

Now if we take Anx(modp), we will have nInd.xInd.A(modp1). From this congruence, and the rules of the previous section, we can deduce the values of Ind.x, and hence the corresponding values of x. However, it is easy to see that x has as many values as there are roots of the congruence nInd.xInd.A(modp1). Therefore, An will have only one value when n is coprime to p1, but when the greatest common divisor of n and p1 is δ, there will be δ incongruent values of Ind.x modulo p1, and consequently An will have equally many incongruent values modulo p, provided that Ind.A is divisible by δ. Without this condition, An will have no real values.

For instance, if one seeks the values of the expression 1115(mod19), one must solve the congruence 15Ind.xInd.116(mod18), from which one obtains three values Ind.x4, 10, 16(mod18). The values of x corresponding to these are 6, 9, 4.

Article 61

Although this method is very expedient when the necessary tables are available, we should not forget that it is indirect. So, it will be worthwhile to investigate how fruitful direct methods can be. We will now present some observations that can be deduced from the previous notions; others, which require more subtle considerations, will be reserved until Section VIII.

Let us begin with the simplest case, in which A=1, or equivalently, in which one seeks the roots of the congruence xn1(modp). Taking an arbitrary primitive root as the base, we have Ind.x0(modp1). When n is relatively prime to p1, this congruence will have only one root, namely Ind.x0(modp1): so in this case 1n(modp) will have only one value, namely 1. However, when n and p1 have δ as their greatest common divisor, the complete solution of the congruence nInd.x0(modp1) will be x0(modp1δ) (see Art. [[../Second_Section#Article_29|29]]), i.e. Ind.x must be congruent to one of the numbers

0,p1δ,2(p1)δ,3(p1)δ,(δ1)(p1)δ

modulo p1, and so will have δ incongruent values modulo p1; thus x will also have δ distinct values (incongruent modulo p.). From this one can see that the expression 1δ(modp) has δ distinct values, whose indices are the numbers listed above; therefore the expression 1δ(modp) is entirely equivalent to the expression 1n(modp), i.e. the congruence xδ1(modp) and the congruence xn1(modp) have the same roots; but the former will be of a lower degree unless δ=n.

Ex. 115(mod19) has three values, because 3 is the greatest common divisor of 15 and 18; these will also be the values of the expression 13(mod19). The three values are 1, 7, 11.

Article 62

This reduction offers us a great advantage, since we no longer need to solve congruences of the form xn1(modp) other than those where n is a divisor of the reduced module by unity. Later we will show that congruences of this form can be reduced even further, although the method above is insufficient to do so. However, there is one case that we can fully address here, namely the case n=2. Indeed, it is clear that the values of the expression 12(modp) will always be +1 and 1, since it cannot have more than two values, and +1 and 1 are incongruent, unless the modulus is =2, in which case it is clear that 12 will only have one value. It follows that +1 and 1 are also the values of the expression 12m(modp), whenever m is relatively prime with p12. This will happen for any modulus such that p12 is an absolutely prime number (unless p1=2m, in which case all numbers 1, 2, 3p1 are roots) e.g. when p=3, 5, 7, 11, 23, 47, 59, 83, 107 etc. As a corollary, we observe that the index of 1 is always p12(modp1), regardless of the primitive root chosen as the base. Indeed, 2Ind.(1)0(modp1). Thus Ind.(1) will either be 0 or p12: but 0 is always the index of +1, and +1 and 1 always have different indices (except in the case where p=2, which is not worth considering here).

Article 63

We have shown (Art. 60) that the expression An(modp) either has δ different values or none at all, if δ is the greatest common divisor of n and p1. Just as we found that An and Aδ were equivalent when A1, we will prove more generally that the expression An can always be reduced to another equivalent expression Bδ. Let x denote any value such that xnA, and let t denote any value of the expression δn(modp1), which will always have real values, as we saw in Art. [[../Second_Section#Article_31|31]]. Then we will have xtnAt; but because tnδ(modp1), we will have xtnxδ. Thus xδAt, and therefore any value of An will also be a value of Atδ. So, whenever An has real values, it will be precisely equivalent to the expression Atδ, since it can neither have different nor fewer values, although it is true that Atδ can have real values without necessarily An having them.

Ex. To find the values of the expression 221(mod31), we observe that the greatest common divisor of the numbers 21 and 30 is 3, and 3 is a value of 321(mod30), so if 221 has real values, it will be equivalent to the expression 233 or 83, and indeed we find that the values of the latter are 2, 10, and 19, which also satisfy the former.

Article 64

In order to not undertake this operation unnecessarily, we must look for rules by which we can immediately deduce whether An admits real values or not. If we have a table of indices, the matter is easy, because it is clear from Art. 60 that An will have real values whenever the index of A is divisible by δ, no matter which primitive root is taken as the base, and otherwise it will not have real values. However, we can also discover this without the help of this table. If k is the index of A, and k is divisible by δ, then k(p1)δ will be divisible by p1, and vice versa. But the index of the number Ap1δ is k(p1)δ. Therefore, if An(modp) has real values, Ap1δ will be congruent to unity, and otherwise it will not be congruent to unity. Thus in the example of the previous article, we have 210=10241(mod31), from which we conclude that 221(mod31) has real values. Similarly, we see from this that 12(modp) always has two real values when p is of the form 4m+1, and has none when p is of the form 4m+3; for (1)2m=1 and (1)2m+1=1. This elegant theorem, which is usually stated as follows: If p is a prime number of the form 4m+1, then we can find a square aa such that aa+1 is divisible by p; but if p is of the form 4m1, no such square can be found, was demonstrated in this way by Euler, Comm. nov. Acad. Petrop. T. XVIII, p. 112, in 1773. He had given another proof of it much earlier, Comm. nov. T. V, p. 5, which came out in 1760. In an earlier dissertation (T. iv, p. 25), he had not yet reached the goal. Lagrange later also provided a proof of this theorem, Nouveaux Mém. de l’Ac. de Berlin, 1775, p. 342. We will present yet another proof in the following section, in which this topic will be treated properly.

Article 65

After examining how one can reduce all expressions An(modp) to others in which n is a divisor of p1, and after finding a criterion which allows to recognize whether there are real roots or not, let us consider with more care the expressions An(modp), where n is a divisor of p1. We will first discuss the relationship between the different values of this expression, and then we will indicate some tricks through which one can often find one of the values.

First, when A1, and r is one of the n values of the expression 1n(modp), or equivalently rn1(modp), then all powers of r will also be values of this expression; and there will be as many different values as there are units in the exponent to which r belongs (Art. 48). So, if r is a value belonging to the exponent n, then its powers r, r2, r3rn (where the last can be replaced with unity) will include all values of the expression 1n(modp). We will explain in more detail in section VIII how one can find these values belonging to the exponent n.

Second, when A is not congruent to unity, and one knows a value z of the expression An(modp), then the other values can be found as follows. Let

1,r,r2rn1

be the values of the expression 1n. Then

z,zr,zr2zrn1

will be the values of An. For it is clear that all these numbers satisfy the congruence xnA. Indeed, if one of them is zrk, then since rk1 and znA, its nth power znrnk will be congruent to A: from Art. [[../Second_Section#Article_23|23]] it is easy to see that all these values are distinct; thus the expression An cannot have other values, as it cannot have more than n. For example, if one value of A2 is z, then the other will be z. From all of this, it must be concluded that one cannot find all the values of An unless one also has all the values of 1n.

Article 66

The second topic that we had promised to discuss was how to determine when a single value of the expression An(modp) (where n is assumed to be a divisor of p1) can be found directly. This occurs whenever there is a value congruent to a power of A, and since this case is very common, it is appropriate to dwell on it briefly. Let z be this value, if it exists, so that zAk and znA(modp). Then we have AAkn; and if one can determine k in such a way that this condition is satisfied, then Ak will be the required value; but the previous condition is equivalent to kn1(modt), where t is the exponent to which A belongs (Art. 46, 48). If n and t are relatively prime, then it is possible to solve this congruence, and indeed we will have k=1n(modt); on the other hand, if t and n have a common divisor, then no value of z will be congruent to any power of A.

Article 67

Since the above solution requires us to know the number t, let us see how to proceed when it is not known. First of all, it is easy to see that t must be a divisor of p1n, provided that An(modp) has real values, which we assume here. Let y be any of these values. Then we will have yp11, and ynA(modp); raising both parts of the latter congruence to the p1nth power, we find that Ap1n1; therefore p1n is divisible by t (Art. 48). Now if p1n is relatively prime to n, then the congruence kn1 can be solved modulo p1n, and it is clear that any value of k that satisfies this congruence will satisfy the same congruence modulo t, this being a divisor of p1n (Art. [[../First_Section#Article_5|5]]), and thus we have found what we were looking for. On the other hand, if p1n is not relatively prime to n, then we first remove all prime factors of p1n which also divide n. From this we obtain a number p1nq, which is relatively prime to n, where q denotes the product of the remaining prime factors of p1n. Then if the condition that t is relatively prime to n holds, t will also be relatively prime to q, and therefore it will divide p1nq. If we now solve the congruence kn1(modp1nq) (which is possible because n and p1nq are relatively prime), then the value we find for k will satisfy the same congruence modulo t, as required. The art here lies in finding a number that can replace t, which we do not know. However, we must be mindful of the fact that when p1n is not relatively prime to n, the condition assumed in the previous article is not met, and all of the resulting conclusions are false; and if by blindly following the rules, we find a value for z whose nth power is not congruent to A, this merely shows the condition does not hold, and therefore the method is not applicable.

Article 68

But even in this case, it is often useful to carry out the above procedure, and it is well worth the effort, because the resulting false values may be related to true ones. Indeed, suppose that the numbers k and z have been thus determined, but zn is not A(modp). Then if the values of Aznn(modp) could be determined, multiplying these different values by z would give those of An. Indeed, if ν is a value of Aznn, we will have νnznA; but the expression Aznn is simpler than An, because Azn usually belongs to a smaller exponent than A. Namely, if d is the greatest common divisor of t and q, then Azn(modp) will belong to the exponent d, which can be demonstrated as follows. Substituting the value zAk gives Azn1Akn1(modp); but kn1 is divisible by p1nq (by the previous article), and p1n is divisible by t (ibid.), or equivalently p1nd is divisible by td. Also, td is relatively prime to qd; thus p1nd is divisible by tqdd, or equivalently p1nq is divisible by td, and therefore kn1 is divisible by td, or equivalently (kn1)d is divisible by t. Thus A(kn1)d1(modp); from which it easily follows that Azn raised to the dth power is congruent to unity. It would be easy to show that Azn cannot belong to an exponent smaller than d, but since this is not required for our purposes, we will not dwell on it. We are thus certain that Azn(modp) always belongs to a smaller exponent than that of A, except in the case where q divides t, and therefore d=t.

Now how does it help, when Azn belongs to a smaller exponent than A? More numbers are possible for A than there are for Azn, so when we have occasion to solve many expressions of the form An, following the same modulus, we gain the ability to draw several solutions from the same source. So e.g. we can always find at least one value of An(mod29), given only the values of 12(mod29), which are ±12. Indeed, it is easy to see, from the previous articles, that we will determine a value directly when t is odd, and that d will be =2 when t is even; but only 1 belongs to the exponent 2.

Examples. Suppose we want to find 313(mod37). Here we have p1=36, n=3, p1n=12, and hence q=3: so we must have 3k1(mod4), from which we obtain k3. Therefore z3136(mod37), and indeed we find that 6331(mod37). Given the values of the expression 13(mod37), we could also determine the remaining values of the expression 313. In fact, the values of 13(mod37) are 1, 10, 26; and multiplying these by 6 we obtain 6, 23, 8.

Now suppose we want to find the values of expression 32(mod37). Then we have p1=36, n=2; p1n=18, therefore q=2. Hence we must have 2k1(mod9), from which we obtain k5. Therefore z3521(mod37); but 212 is not congruent to 3, but rather 34; so we have 334(mod37)1 and 12(mod37)±6; thus we obtain the correct values ±621±15.

This is all we are able to present here on solving these expressions. It is clear that direct methods will often escape from being too verbose; but this inconvenience applies to almost all direct methods in number theory, so we did not wish to neglect to show how much they can achieve here. It is also worth noting that it was not our intention to explain individually the specific techniques that often present themselves to the experienced practitioner.

Article 69

Template:Smaller

We now return to the roots we have called primitive. We have shown that, if we take an arbitrary primitive root as a base, then all numbers whose indices are relatively prime to p1 will also be primitive roots, and that there are no others: from this we have deduced the number of such roots. See Art. 53. Since the choice of the base we take is generally arbitrary, we see that here, as with logarithms, we can have many different systems.[2] Let us look for the relations that link them together. Let a and b be two primitive roots, and m another number. Suppose that the index of b is =β and the index of m is μ(modp1) when a is taken as base. On the other hand, let Ind.aα(modp1) and Ind.mν(modp1) when b is taken as the base. Then we will have αβ1(modp1); indeed aβb, so aαβbαa(modp) (by hypothesis), hence αβ1(modp1). By similar reasoning, we find that να and μβν(modp1). Therefore, if we have created an index table for the base a, we can easily change it to another one with base b. Indeed, if the index of b is β for the base a, then the index of a will be 1β(modp1) for the base b, and by multiplying all of the indices in the table by this number, we will have all the indices for the base b.

Article 70

However, although a given number may have many different indices, depending on which primitive root is taken as the base, all of these indices will have a common property, that their greatest common divisor with p1 is the same. In fact, if the index of a given number is m for the base a and n for base b, and if the greatest common divisors μ, ν of these indices with p1 are assumed to be different, e.g. μ>ν, then μ will not divide n. On the other hand, if α denotes the index of a for the base b, then we will have (by the previous article) nαm(modp1), and hence μ will divide n. Q.E.A.

We can also show that this common divisor of the indices of a given number and p1 is independent of the base by observing that it is equal to p1t, where t is the exponent to which the number belongs. Indeed, if the index is k for any base, then as we saw in Arts. 48, 58, t will be the smallest number (excluding zero), that when multiplied by k, gives a product divisible by p1, or equivalently it will be the smallest value of the expression 0k(modp1) except for zero; but it is easy to deduce from Art. [[../Second_Section#Article_29|29]] that this value is the greatest common divisor of the numbers k and p1.

Article 71

It is easy to show that one can always find a base such that a number belonging to the exponent t has a given index, as long as the greatest common divisor of this index and p1 is =p1t. For the sake brevity, denote this divisor by d, let the index be dm, and let dn be the index of the given number when some primitive root a is chosen as the base. Then m and n will be relatively prime to p1d, i.e. to t. Now if ε is a value of the expression dndm(modp1), which is also relatively prime to p1, then aε will be the desired primitive root, because we will have aεdmadn the proposed number (modp), as desired. But it can be shown that the expression dndm(modp1) admits arbitrary values coprime to p1. Indeed, it is equivalent to nm(modp1d) or nm(modt), as we saw in Arts. [[../First_Section#Article_2|2]], [[../Second_Section#Article_31|31]], and all such values will be coprime with t; for if one such value e had a common divisor with t, this divisor would also have to divide me, and consequently it would divide n, which is congruent to me modulo t, contrary to the hypothesis that n is relatively prime to t. Thus, when all the prime divisors of p1 also divide t, all values of the expression nm(modt) will be relatively prime to p1, and their multitude will be =d; but when p1 still contains other prime factors f, g, h etc. which do not divide t, let e be an arbitrary value of nm(modt). Then since t, f, g, hetc. are mutually relatively prime, one can find a number ε, which is congruent to e modulo t, and which is congruent modulo f, g, h etc. to arbitrary given numbers that are relatively prime to the corresponding modulus (Art. [[../Second_Section#Article_32|32]]). Such a number will not be divisible by any factor of p1, and thus will be relativley prime with it, as required. It can be easily shown from the theory of combinations that the number of these values is p1tf1fg1gh1hetc.; but we omit this demonstration, which will not be necessary for us.

Article 72

Template:Smaller

Although in general one can arbitrarily choose any primitive root as a base, certain particular advantages may make one base preferred over another. In Table [[../Tables#Table_I|I]] we have always taken 10 as the base when it was a primitive root, and in other cases we have chosen the base in such a way that the index of the number 10 was as small as possible, i.e. so that it would be =p1t, where t is the exponent to which 10 belongs. The advantage of this will be recognized in Sect. VI, where the same table will be used for other purposes. But since this still leaves a degree of arbitrariness, as we saw in the previous article, we have always chosen, among all primitive roots that satisfy this requirement, the smallest one as the base. So, for p=73, we have t=8, d=9, and aε has 72.28.3, i.e. 6 values, which are 5, 14, 20, 28, 39, 40. We have therefore chosen 5 to be the base.

Article 73

Template:Smaller

Most of the methods used to find primitive roots rely largely on trial and error. If we combine what we have said in Art. 55 with what we will say below about solving the congruence xn1, then we will have almost everything that can be done using general methods. Euler admits (Opuscula analyt. T. i, p. 152.) that it seems extremely difficult to determine these numbers, and that their nature must be considered as one of the most thorny points of number theory. However, they can be found quite easily using the following method. Experienced individuals can easily shorten the calculation by using various tricks; but these are better learned by practice than by rules.

1st. Choose an arbitrary number a, (often the calculation becomes simpler when one chooses a as small as possible, e.g. 2;) which is relatively prime to the given modulus p (we will always denote the modulus with this letter), and determine its period (Art. 46), i.e. the minimal residues of its powers up to the first power at which has 1 as its minimal residue.[3] If t=p1, then a is a primitive root.

2nd. On the other hand, if t<p1, one can choose another number b that is not in the period of a, and determine its period in exactly the same way. Letting u denote the exponent to which b belongs, it is easy to see that u is neither equal to t, nor one of its aliquot parts, for in both cases we would have bt1, which is impossible, since the period of a contains all numbers whose tth power is congruent to unity (Art. 53). Now, if u is =p1, then b will be a primitive root; but if u is not =p1, but instead a multiple of t, then we still have the advantage of knowing a number that belongs to a larger exponent, and thus we are closer to our goal, since we are looking for the number that belongs to the maximum exponent. Finally, if u is neither =p1, nor a multiple of t, we can find a number belonging to an exponent larger than t and u; namely, this exponent will be the least common multiple of t and u. Indeed, letting this =y, we can decompose y into two relatively prime factors m and n, with the former dividing t and the latter dividing u [4]. If we set aϵmA and bunB(modp), then AB will belong to the exponent y; it is easy to see that A belongs to the exponent m and B to the exponent n, and therefore the product AB will belong to the exponent mn, since m and n are relatively prime, as can be demonstrated by following exactly the procedure of Art. 55, II.

3rd. If y=p1, then AB will be a primitive root; otherwise one can similarly find a third number which does not appear in the period of AB; this number will either be a primitive root, or it will belong to an exponent >y, or finally, it can be used to determine a number belonging to an exponent >y. Since the numbers produced by repeating this operation belong to exponents which are always increasing, it is clear that one will eventually find a number that belongs to the maximum exponent p1, i.e. a primitive root, q.e.f.

Article 74

Let us clarify the above with an example. Let p=73 for which we seek a primitive root. Let us first try the number 2, whose period is

1248163264553710123456789

Therefore, since its 9th power is congruent to unity, 2 is not a primitive root. Let us try another number, which is not in the period of 2, e.g. 3, whose period is

1392782472706446654910123456789101112

So 3 is also not a primitive root; but the least common multiple of the exponents to which 2 and 5 belong (i.e. the numbers 9 and 12), is 36, which can then be resolved into factors m=9 and n=4, according to the rules from the previous article. Therefore, raising 2 to the power 99=1, raising 3 to the power 124=3, and taking the product, we obtain of 54, which will belong to the exponent 36. Finally, if we calculate the period of 54 and try a number not contained in it, e.g. 5, we find that it is a primitive root.

Article 75

Template:Smaller

Before leaving this subject, we will present some propositions that do not seem unworthy of attention due to their simplicity.

The product of all terms in the period of any number is 1 when their multitude, or the exponent to which the number in question belongs, is odd, and 1 when the exponent is even.

Ex. For the modulus 13, the period of 5 is composed of the terms 1, 5, 12, 8, whose product 4801(mod13).

For the same modulus, the period of 3 is composed of the terms 1, 3, 9, whose product 271(mod13).

Proof. Letting t be the exponent to which the number belongs, we can always find (Art.71) a base for which the index of the number is p1t. The index of the product of all the terms will be

(1+2+3+etc.+t1)p1t=(t1)(p1)2

i.e. 0(modp1), when t is odd; and p12, when t is even; hence in the first case, the product is 1(modp); but in the second it is 1(modp). Q.E.D.

Article 76

If the number in the previous theorem is a primitive root, then its period will include all of the numbers 1, 2, 3p1, whose product will therefore always be 1 (for p1 is always even, except when p=2, in which case +1 and 1 are equivalent. This elegant theorem, which is usually stated in the following way: The product of all numbers smaller than a prime number, increased by unity, is divisible by this prime number, was published by Waring who attributes it to Wilson Meditationes algeb. Ed. 3, p. 380. Yet neither of them could prove it, and Waring admits that the proof seems to him all the more difficult as there is no notation in which a prime number can be expressed. As for us, we believe that the proofs of these kinds of truths must be drawn from principles rather than from notation. Lagrange subsequently provided a proof, Nouv. Mém. de l’Ac. de Berlin, 1771. It is based on considering of the coefficients that are found by expanding the product

x+1.x+2.x+3x+p1

Namely, he shows that by setting this product

=xp1+xp2+xp3++Mx+N,

the coefficients A, B etc., M are divisible by p; and therefore N=1.2.3p1. Now, for x=1, the product is divisible by p; but then it will be 1+N(modp); therefore 1+N must necessarily be divisible by p.

Finally Euler (Opusc. analyt. T. i, p. 529) provided a proof that is similar to the one we have just explained. Since such men judged this theorem not unworthy of their reflections, we hope it will not meet with disapproval if we add yet another demonstration.

Article 77

When the product of two numbers a, b is congruent to unity modulo p, we will say that a, b are associated, as did Euler. Then by the preceding section, every positive number less than p will always have one and only one associated number that is positive and less than p. Now, it is easy to prove that among the numbers 1, 2, 3p1, only 1 and p1 are associated with themselves, because those that enjoy this property will be given by the congruence xx1, which is of the second degree and can therefore only have two roots, i.e. apart from 1 and p1 we can have no others. Therefore, upon removing these, the remaining numbers 2, 3p2 will be associated in pairs; thus their product will be 1, and therefore the product of all the numbers1, 2, 3p1 will be p1, or 1. Q.E.D.

E.g. for p=13, the numbers 2, 3, 411 are associated as follows: 2 with 7; 3 with 9; 4 with 10; 5 with 8; 6 with 11; so that 2.71; 3.91 etc. Hence 234111; therefore 12312121.

Article 78

Wilson's theorem can be made more general by stating it as follows: The product of all numbers less than and relatively prime to a given number A is congruent, modulo A, to a positive or negative unit. The unit should be taken negatively when A is of the form pm or 2pm, where p is a prime number different from 2, or when A=4; in all other cases it should be taken positively. Wilson’s theorem falls within the first case. E.g. For A=15, the product of the numbers 1, 2, 4, 7, 8, 11, 13, 14 is 1(mod15). For the sake of brevity,we omit the the demonstration: we merely observe that we can achieve it in the same way as in the previous article, except that the congruence x21 can have more than two roots, which requires certain particular considerations. One could also derive it from the consideration of indices, as in Art. 75, in combination with that which we will say shortly about composite moduli.

Article 79

Let us return to the enumeration of the other propositions (Art. 75).

The sum of all terms in the period of any number is 0, as in the example of article 75,

1+5+12+8=260(mod13).

Proof. Let a be the number in question, and let t be the exponent to which it belongs. The sum of all terms in the period will be

1+a+a2+a3++at1at1a1(modp)

However, at10: thus the sum must be 0 (Art. 22) if a1 is not divisible by p, or a1; thus we must exclude this case if we wish to call even a single term a period.

Article 80

The product of all primitive roots is 1 unless p=3; because in this case there is only one primitive root, 2.

Proof. If we take an arbitrary primitive root as a base, then the indices of all primitive roots will be numbers less than and relatively prime to p1. However, the sum of all these numbers, i.e. the index of the product of all primitive roots, is 0(modp1), and therefore the product is 1(modp); it is easy to see that if k is a number relatively prime to p1, then p1k will also be relatively prime to p1, and therefore the sum of the numbers relatively prime to p1 is composed of pairs whose sum is divisible by p1. (but k can never be equal to p1k, except in the case p1=2, or p=3, which we excluded; for it is clear that in all other cases p12 is not relatively prime to p1.

Article 81

The sum of all primitive roots is 0 (when p1 is divisible by a square), or ±1, (when p1 is the product of distinct prime factors; the sign is positive when the number of factors is even, and it is negative when the number of factors is odd).

Ex 1. For p=13, the primitive roots are 2, 6, 7, 11, and their sum is 260(mod13).

Ex 2. For p=11, the primitive roots are 2, 6, 7, 8, and their sum is 23+1(mod11).

Ex 3. For p=31, the primitive roots are 5, 11, 12, 13, 17, 21, 22, 24, and their sum is 1231(mod31).

We have shown earlier (Art. 55, II) that if p1 is =aαbβcγetc. (where =a, =b, =c etc. are distinct prime numbers), and A, B, C etc. are arbitrary numbers that belong to the exponents aα, bβ, cγ etc., then all products ABCetc. will be primitive roots. However, it is easy to show that any primitive root can only be expressed in one way as a product of this form.[5]

It follows from this that the primitive roots can be replaced with products of this form; but in these products we must combine all values of A with all those of Betc. So, by the theory of combinations, the sum of all such products will be equal to the product of the sum of all values of A, the sum of the values of B, the sum of the values of C etc. Denoting the values of A by A, A, Aetc., and the values of B by B, B, Betc. etc., it follows that the sum of all primitive roots will be

(A+A+etc.)(B+B+etc.)etc.

Now I say that if α=1, the sum A+A+A+etc. will be 1(modp), and if α>1, this sum will be 0, and likewise for β, γetc., If these two assertions are proved, then the truth of the theorem will be evident. Indeed, when p1 is divisible by a square, one of the exponents α, β, γ etc., will be greater than unity, hence one of the factors, whose product is congruent to the sum of primitive roots, will be 0, and thus so will be the product itself: but when p1 is not divisible by any square, all of the exponents α, β, γetc., will be equal to one, so the sum of the primitive roots will be congruent to the product of as many factors 1, as there are numbers a, b, cetc., and therefore the product will be ±1, depending on whether the number of such factors is even or odd. This can be shown as follows:

1st. When α=1, and A is a number belonging to the exponent a, the remaining numbers belonging to the same exponent will be A2, A3Aa1; But

1+A+A2+A3+A4+Aa1

is the sum of a complete period, and therefore is 0 (Art. 79), and thus

A+A2+A3+A4+Aa11.

2nd. When α>1, and A is a number belonging to the exponent aα, the remaining numbers belonging to the same exponent are obtained by removing Aa, A2a, A3a etc. from the sequence A2, A3, A4, etc. Aaα1, see Art. 53. Thus their sum will be

1+A+A2++Aaα1(1+Aa+A2a++Aaαa)

i.e. it will be congruent to the difference of two periods, and therefore 0. Q.E.D.

Article 82

Template:Smaller

All that we have explained so far assumes that the modulus is a prime number. We still need to consider the case where we take a composite number as the modulus. However, there are not as many elegant properties in this case as in the first one, and there is no need for very delicate devices to find them, as everything is deduced almost solely from the application of the previous principles, so it would be superfluous and tedious to exhaust all the details here. Therefore, we will briefly explain what this second case has in common with the first, and what distinguishes it.

Article 83

The propositions of Arts. 4548 have already been proved in general, but the one in Art. 49 must be modified as follows:

If f denotes the number of integers less than and relatively prime to m, i.e., if f=ϕm (Art. 38), and a is a given number which is relatively prime to m, then the smallest exponent t such that at is congruent to unity modulo m will be =f, or an aliquot part of f.

The proof of the proposition in Art. 49 can also be applied in this case, by substituting m for p and f for p1, and instead of the numbers 1, 2, 3, p1, the numbers relatively prime to m and less than it. We leave this to the reader. But the other proofs we have mentioned (Arts. 50, 51), can only be applied in this case after many modifications. As for the following propositions (Art. 52 and onwards), there is a great difference between moduli that are powers of a prime number and those that are divisible by several prime numbers. Therefore, we will separately consider moduli of the first type.

Article 84

If the modulus is m=pα, where p is a prime number, then we have f=pα1(p1), (Art. [[../Second_Section#Article_38|38]]). Now, if we apply the investigations of Arts. 53, 54 in this case, mutatis mutandis as in the previous article, we find that everything that has been shown there would also hold if it could be shown that the congruence xt10(modpn) does not have more than t different roots. It is from a more general proposition (Art. 43) that we deduced this truth for a prime modulus, but this proposition only holds for prime modules, and therefore cannot be applied to this case. We will therefore prove it by a more specialized method. Later (Sect. VIII) we will prove it even more easily.

Article 85

We aim to prove the following theorem:

If the greatest common divisor of the numbers t and pn1(p1) is e, then the congruence xt1(modpn) will have e distinct roots.

Let e=kpν, where k is not divisible by p, and therefore divides p1. Then the congruence xt1 will have k distinct roots modulo p, and if these are denoted by A, B, C etc., then any root of this same congruence modulo pn must be congruent to one of the numbers A, B, C etc. modulo p. We will prove that the congruence xt1(modpn) has pν roots congruent to A, just as many congruent to B etc. modulo p. Thus the total number of roots will be kpν or e, as we claimed. To carry this out, we will show that first, if α is a root congruent to A modulo p, then

α+pnν,α+2pnν,α+3pnν,α+pν1pnν,

will also be roots; and second, no number congruent to A can be a root, unless it is of the form α+hpnν (where h is an integer); hence there will clearly be p distinct roots, and no more; the same thing will happen with respect to B, C etc.; and third, we will show how one can always find a root congruent to A modulo p.

Article 86

Theorem. If, as in the preceding article, t is a number divisible by pν and not by pν+1, then

(α+hpμ)tαt0(modpμ+ν), and αt1hpμt(modpμ+ν+1).

The second part of the theorem does not hold when p=2 and μ=1.

We could deduce this theorem from the binomial formula, if we were to show that all terms, after the second, are divisible by pμ+ν+1; but since considering the denominators of the coefficients leads to some confusion, we prefer the following method.

We assume first that μ>1 and ν=1. Then because

xtyt=(xy)(xt1+xt2y+xt3y2+etc.+yt1)

we have

(α+hpμ)tαt=hpμ{(α+hpμ)t1+(α+hpμ)t2α+etc.+αt1};

But

α+hpμα(modp2)

and therefore each term (α+hpμ)t1, (α+hpμ)t2α etc., will be αt1(modp2), and therefore the sum of all terms will be tαt1(modp2), or equivalently this sum will be of the form tαt1+Vp2, for some number V. Hence (α+hpμ)tαt will be of the form

αt1hpν, i.e. αt1hpμt(modpμ+2) and 0(modpμ+1).

For this case, the theorem is proved.

If the theorem were not true for the other values of ν, with μ still being >1, then there would necessarily be a limit up to which the theorem would be true, and beyond which it would be false. Let φ be the smallest value of ν for which the theorem is false. It is easy to see that the theorem is true if t is divisible by pφ1 and not by pφ, but if tp is substituted for t, it is no longer true. Therefore, we have

(α+hpν)tαt+αt1hpμt(modpμ+φ), or =αt+αt1hpμt+upμ+φ,

for some integer u; but since the theorem is already proven for ν=1, we will have

(αt+αt1hpμt+upμ+φ)pαtp+αtp1hpμ+1t+αtp1upμ+φ+1(modpμ+φ+1)

and hence

(α+hpμ)tpαtp+αtp1hpμtp(modpμ+φ+1)

i.e. the theorem is still true if we substitute tp in place of t or φ+1 instead of φ, contradicting the assumption. Thus the theorem is true for all values of ν.

Article 87

The case where μ=1 remains. By a method precisely similar to that of the previous article, we will prove, without using the binomial theorem, that

(α+hp)t1αt1+αt2(t1)hp(modp2)α(α+hp)t2αt1+αt2(t2)hpα2(α+hp)t3αt1+αt2(t3)hpetc.

and therefore (since the number of terms is t)

tαt1+(t1)t2αt2hp(modp2)

However, since t is divisible by p, (t1)t2 will also be divisible by p,, except in the case where p=2, which we have excluded in the previous article. In the remaining cases, we have (t1)t2αt2hp0(modp2), and therefore the sum will be tαt1(modp2). The rest of the proof proceeds as before.

It generally follows from this that, except in the case where p=2, we have

(α+hpμ)tαt(modpμ+ν)

and (α+hpμ) not αt, for any modulus that is a power of p higher than pμ+ν, provided that h is not divisible by p, and that pν is the highest power of p that divides t.

From this the first two propositions of that we set out to prove in Art. 85 follow immediately: namely

First, if αt1, then we also have (α+hpnν)t1(modpn).

Second, if a number α is congruent to A and consequently to α modulo p, then it cannot satisfy the congruence xt1(modpn) unless it is congruent to α modulo pnν. Indeed, if we had α=α+lpλ, where l is not divisible by p and λ<nν, then we would have (α+lpλ)tαt modulo pλ+ν, but not modulo the higher power pn, so α would not be a root of the congruence xt1.

Article 88

Third, we must find a root of the congruence xt1(modpn) which is congruent to A modulo p. It will suffice to show how this can be achieved if we know a root of the congruence modulo pn1, since we can then proceed from the modulus p, for which A is a root, to the modulus p2, and from there to all consecutive powers.

Let α be a root of the congruence xt1(modpn1), and let us seek a root of the same congruence modulo pn, which we assume to be =α+hpnν1, since the previous article tells us it must have this form (later we will separately consider the case where ν=n1; ν cannot be greater than n1). We will then have

(α+hpnν1)t1(modpn)

but also

(α+hpnν1)tαt+αt1htpnν1(modpn)

Thus if we determine h in such a way that 1αt+αt1htpnν1(modpn); or (since 1αt(modpn1), and t is divisible by pν by hypothesis) in such a way that αt1pn1+αt1htpt is divisible by p, the problem will be solved. Since t cannot be divisible by a power of p higher than pν, and therefore αt1tp is relatively prime with p, so it follows from what was shown in the Sect. II that this is always possible.

On the other hand, if ν=n1, i.e. if t is divisible by pn1 or by a higher power of p, then any value A that satisfies the congruence xt1 modulo p, will satisfy the same congruence modulo pn. Indeed, if t=pn1τ, then we will have tτ(modp1); and therefore, since At1(modp), we will also have Aτ1(modp). Thus if Aτ=1+hp, we will have At=(1+hp)pn11(modpn) (Art. 87).

Article 89

Everything that we have demonstrated, starting in Art. 57, with the help of the theorem that the congruence xt1 can have no more than t roots, can be applied to a modulus that is a power of a prime number, and if we call primitive roots the numbers that belong to the exponent pn1(p1), that is to say those whose period contains all numbers not divisible by p, then there will also be primitive roots in this case. Everything we have said about indices and their use, including the solution of the congruence xt1, can be applied in this case as well. Since the proofs are not difficulty, it would be superfluous to repeat them. We have also shown how one can deduce from the roots of the congruence xt1(modp), those of the congruence xt1(modpn); but something must be added about the case p=2, which we had excluded above.

Article 90

Template:Smaller

If the modulus is a power of two, say 2n, and n is greater than 2, then any odd number will become congruent to unity when it is raised to the power 2n2.

E.g. 38=65611(mod32).

Indeed, every odd number is either of the form 1+4h or of form 1+4h, from which the proposition follows immediately (theor. Art. 86).

Therefore, the exponent to which any given odd number belongs modulo 2n must be a divisor of 2n2; such a number will therefore belong to one of the exponents 1, 2, 4, 8, 2n2; and moreover it is easy to determine the exponent to which it belongs. Let the proposed number be =4h±1, and let 2m the largest power of 2 that divides h (here m is =0 when h is odd); then the exponent to which the given number belongs will be =2nm2, if n>m+2; but if n= or is <m+2, the proposed number will be ±1, and therefore will belong to the exponent 1 or to the exponent 2. Indeed, a number of the form ±1+2m+2k (or equivalently, 4h±1) becomes congruent to unity modulo pn when raised to the power 2nm2, but will not be congruent to unity when raised to any power of lower degree. Thus any number of the form ±1+4h, where h is odd, that is any number of the form 8k+3 or 8k+5, belongs to the exponent pn2.

Article 91

It follows that in this case there are no primitive roots, in the sense that we have given to this expression. That is, there are no numbers whose period contains all the numbers less than and relatively prime to the modulus. However, it is easy to see that something analogous happens here. Indeed, every odd power of a number of the form 8k+3 is itself of the form 8k+3, and every even power is of the form 8k+1; therefore no power can be of the form 8k+5 or 8k+7. Therefore, because the period of a number of the form 8k+3 is composed of 2n2 distinct terms, each of which is of the form 8k+1 or 8k+3, and there are no more than 2n2 such numbers which are smaller than the modulus, it is evident that every number of the form 8k+1 or 8k+3 is congruent to a power of a certain number of the form 8k+3 modulo 2n. It can be shown in a similar way that the period of a number of the form 8k+5 includes all numbers of the form 8k+1 and 8k+5. So, if we take a number of the form 8k+5 as a base, we will find real indices for all numbers of the form 8k+1 and 8k+5 taken positively, and for all numbers of the form 8k+3 and 8k+7 taken negatively, where the indices are considered to be equivalent if they are congruent modulo 2n2. This is how we must understand Table I, in where for the moduli 16, 32 and 64 (no table is needed for the modulus 8), we always took the number 5 as the base. E.g. the number 19, which is of the form 8n+3 and so must be taken negatively, has the index 7 modulo 64, which means that 5719(mod64). If one were to take numbers of the form 8n+1 and 8n+5 negatively, and those of the form 8n+3 and 8n+7 positively, one would have to give them indices that are, in a sense, imaginary. Introducing these would reduce the indicial calculus to a very simple algorithm; but as we would be led too far if we wanted to treat this subject with complete rigor, we reserve this point for another occasion, when perhaps we will undertake to treat in more detail the theory of imaginary quantities, which, in our opinion, has not yet been reduced to clear notions by anyone. Experts will easily find this algorithm for themselves; those who are less practiced can nevertheless use the table, provided they have properly understood the principles established above, just as those who are not familiar with modern knowledge on imaginary logarithms use logarithms.

Article 92

Template:Smaller

For a modulus which is composed of several prime numbers, everything related to residues of powers can be deduced from the general theory of congruences; but since we will present a method below to reduce congruences whose modulus is composed of several prime numbers to others whose modulus is a prime number, or a power of a prime number, we will not dwell much on this matter. We will content ourselves to merely observe that the beautiful property that holds for other moduli, namely that there always exist numbers whose period contains all numbers relatively prime to the modulus, does not hold here, except in the case where the module is twice a prime number, or a power of a prime number. Indeed, if we reduce the modulus m to the form AaBbCc etc., with A, B, C etc. being distinct prime numbers, and if we also denote Aa1(A1) by α, Bb1(B1) by β, etc., and let z be relatively prime wto m, then we will have zα1(modAa), zβ1(modBb) etc. Therefore, if μ is the least common multiple of α, β, γetc., we will have zμ1 with respect to each of the moduli Aa, Bb etc., and therefore, modulo m which is equal to their product. However, except in the case where m is twice a prime number or a power of a prime number, we will always have μ<αβγ etc., since the numbers α, β etc. are all divisible by 2, and thus cannot be relatively prime. Therefore no number can have a period which contains as many terms as there are numbers less than and relatively prime to the modulus, since the number of the latter is equal to the product αβγetc. E.g. for m=1001=71113, the 60th power of any number relatively prime to m is congruent to unity, since 60 is the least common multiple of 6, 10, and 12. Finally, the case where the module is twice a prime number or twice a power of a prime number is exactly similar to the case where the modulus is a prime number or a power of a prime number.

Article 93

We have occasionally mentioned the works in which other geometers have spoken about the subject treated in this section. However, those who wish to have certain things explained more fully than our desire for brevity has permitted, we refer them above all to the following works of Euler, which are highly commendable due to the perspicuity that has always distinguished this great man above all others.

Theoremata circa residua ex divisione potestatum relicta Comm. nov. Petr. T. VII, p. 49 sqq.
Demonstrationes circa residua ex divisione potestatum per numeros primos resultantia. (Ibid. T. xviii, p. 85).

To these can also be added Opusculorum analyt. T. I, Diss. 5 and 8.

  1. This great man had not quite achieved this goal in a previous commentary. Comm. Petr. T. VI. p. 106. — In the famous debate between Maupertuis and Konig on the principle of least action, a debate that led to unrelated digressions, Konig claimed to have in his possession an autographed manuscript of Leibniz, containing a proof of this theorem which was exactly identical to that of Euler. Appel au public. p. 106. Although we do not want to deny this testimony, it is certain that Leibniz never published his proof. See Hist. de l’Ac. de Prusse, A. 1750. p. 530.
  2. However, they differ in that while for logarithms the number of systems is infinite, here it is equal to the number of primitive roots, because congruent bases obviously produce the same systems.
  3. It is plain to see that it is unnecessary to know these powers themselves, as one can obtain the minimal residue of each power from that of the previous power.
  4. It is easy to see from Art. [[../Second_Section#Article_18|18]] how to derive this decomposition. We decompose y into factors that are prime numbers or powers of different prime numbers; each of these divides either t or u, or both. We will assign to t and to u those prime powers that divide only t or only u respectively. As for those dividing both u and t, it does not matter which one they are assigned to. If we then let the product of those assigned to t be =m, and let the product of those assigned to u be =n, then it is easy to se that m divides t, n divides u, and mn=y.
  5. Specifically, we can determine numbers 𝔞, 𝔟, 𝔠, etc. such that 𝔞1(modaα) and 0(modbβcγ); 𝔟1(modbβ) and 0(modaαcγ) etc., (see Art. [[../Second_Section#Article_32|32]]); then we will have 𝔞+𝔟+𝔠+etc.1(modp1), (Art. [[../Second_Section#Article_19|19]]). Now, to express any primitive root r as a product ABC etc., we take Ar𝔞, Br𝔟, Cr𝔠 etc., so that A will belong to the exponent aα, B will belong to the exponents bβ, etc.; the product A, B, Cetc. will then be r(modp); finally it is easy to see that A, B, Cetc., cannot be determined in any other way.