Translation:Disquisitiones Arithmeticae/Second Section

From testwiki
Revision as of 15:55, 24 February 2024 by imported>Luccul (fixed latin title, added french interlanguage link)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:Translation header

fr:Recherches_arithmétiques


Template:Larger

Article 13

Template:Smaller

Template:Sc The product of two positive numbers, each of which is smaller than a given prime, cannot be divisible by this prime.

Let p be the prime, and let a be a positive number <p: then it is not possible to find a number b, smaller than p, such that ab0(modp).

Proof. If anyone denies it, let us suppose that numbers b, c, d etc. are given, all of which are less than p, such that ab0(modp), ac0(modp) etc. Let b be the smallest of these, so that all numbers smaller than b are deprived of this property. Clearly b>1, for if b=1, then we would have ab=a<p, so ab would not be divisible by p. Now, as a prime number, p cannot be divisible by b, and must instead fall between two multiples of b,mb and (m+1)b. Let pmb=b. Then b will be positive and <b. Since we have assumed ab0(modp), it is also true that mab0 (Art. [[../First_Section#Article_7|7]]), and hence subtracting from ap0 we will have a(pmb)=ab0; i.e. b is included among the numbers b, c, d etc., even though b was supposed to be the smallest of them. Q.E.A.

Article 14

If neither a nor b is divisible by a given prime number p, then the product ab will also not be divisible by p.

Let α and β be the minimal positive residues of the numbers a and b modulo p. By hypothesis, neither of these will be zero. Now, if it were true that ab0(modp), then since abαβ, it would also be true that αβ0. But this is impossible, by the previous theorem.

The proof of this theorem has already been given by Euclid, Elements, vii, 32. However, we did not want to omit it, both because several modern authors have presented vague reasoning instead of a proof, or have neglected this theorem; and also because the nature of the method used here, which we will later apply to much more difficult problems, can be more easily understood from a simpler case.

Article 15

If none of the numbers a,b,c,d, is divisible by the prime number p, then the product abcd etc. will also not be divisible by p.

According to the previous article, ab is not divisible by p, so the same is true for abc, hence also for abcd, etc.

Article 16

Template:Sc A composite number can only be resolved into prime factors in one way.

Proof. It is evident from first principles that any number can always be decomposed into prime factors; but it is often tacitly assumed that this decomposition is only possible in one way. Let us imagine a composite number A=aαbβcγ etc., where a, b, c etc. are unequal prime numbers, and suppose that A can be resolved into prime factors in yet another way. It is first of all clear that in this second system of factors, primes other than a, b, c etc. cannot enter, since these are the only primes which divide A. Similarly, none of the prime numbers a, b, c etc. can be missing, because if that were the case, the missing primes would not divide A (Art. 15); thus the two factorizations can only differ insofar as a prime is repeated more times in one than in the other. Let p be a prime number, which is repeated m times in one system and n times in the other, with m>n. Now let the factor p be removed from each system n times, so that it remains in one system mn times, and has disappeared from the other. Then the number Apn has two different factorizations, one of which is completely free of the factor p, while the other still contains it mn times, contrary to what we have just shown.

Article 17

Therefore, if a composite number A is the product of B, C, D etc., then it is clear that the numbers B, C, D etc. cannot have prime factors different from those of A, and that each of these factors must occur as many times altogether in the numbers B, C, D etc. as it does in A. From this, one obtains a criterion to determine whether one number B divides another number A. This will happen if B does not involve any prime more times than A; if this condition is not satisfied, then B will not divide A.

With the help of the calculus of combinations, it is easy to see that if A=aαbβcγ etc., where as above a, b, c etc. denote distinct prime numbers, then A has

(α+1)(β+1)(γ+1)

distinct divisors, including 1 and A.

Article 18

It is therefore clear that if A=aαbβcγ etc., K=kκlλmμ etc., and if the primes a, b, c etc., k, l, m etc. are all distinct from one another, then A and K will have no common divisor other than 1, or in other words they will be relatively prime.

Given several numbers A, B, C etc., their greatest common divisor is determined as follows. The numbers are resolved into their prime factors, and those that are common to all the numbers A, B, C etc. are taken (if there are none, the given numbers would have no common divisor). Then one notes how many times each of these prime factors is contained in A, B, C, etc., or equivalently the exponents of these factor in each of the numbers A, B, C, etc. Then each factor is given the smallest of the exponents that it has in A, B, C, etc. Finally, the product of the resulting powers is computed; this will be the greatest common divisor.

On the other hand, if the least common multiple of the numbers A, B, C, etc. is desired, one can proceed as follows. Collect all the prime numbers that divide any of the numbers A, B, C, etc., and assign to each of them the largest exponent that it has in the numbers A, B, C, etc. The product of all these powers will be the required common multiple.

Ex. Let A=504=23327, B=2880=26325, C=864=2533. To find the greatest common divisor, the prime factors 2 and 3 which must be assigned exponents 3 and 2; this gives the greatest common divisor 2332=72; the least common multiple will be 26335.7=60480.

We omit the proofs because of their simplicity; after all, it is known how to solve these problems in an elementary way, even when the factorizations of the numbers A, B, C, etc. are not given.

Article 19

If the numbers a, b, c etc. are relatively prime to k, then their product will also be relatively prime to k.

Indeed, because none of the numbers a, b, c etc. has prime factors in common with k, the product abc etc. cannot have prime factors that do not belong to any of a, b, c etc. Thus from the previous article, abc etc. will be relatively prime to k.

If the numbers a, b, c etc. are relatively prime to each other, and k is divisible by each of them, then k is also divisible by their product.

This is easily derived from Arts. 17 and 18. Let p be any prime divisor of the product abc etc., which is repeated π times. Then it is clear that one of the numbers a, b, c etc. will be divisible by pπ, and consequently k, which is divisible by this number, will also be divisible by pπ. The same reasoning holds for the remaining divisors of the product abc etc.

Therefore, if two numbers m, n are congruent modulo several relatively prime moduli a, b, c etc. then they will also be congruent modulo the product. Indeed, since mn is divisible by each of the numbers a, b, c etc., it must also be divisible by their product.

Finally, if a is relatively prime to b, and ak is divisible by b, then k will also be divisible by b. Indeed, since ak is divisible by a and b, it will be divisible by their product, i.e. akab=kb will be an integer.

Article 20

If A=aαbβcγ etc., where a, b, c etc. are distinct prime numbers, and A is equal to a perfect power kn, then all of the exponents α, β, γ, etc. will be divisible by n.

The number k does not involve prime numbers other than a, b, c etc. Let α be the exponent of a in k. Then kn will contain this factor nα times, so nα=α and αn is an integer. It can be shown in a similar way that βn etc. are integers.

Article 21

If a, b, c etc. are relatively prime to each other, and their product abc etc. is a perfect power kn, then each number a, b, c etc. will also be an nth power.

Let a=lλmμpπ etc., where l, m, p etc. are distinct prime numbers, none of which (by hypothesis) divide any of the numbers b, c etc. Then the product abc etc. will include l as a factor λ times, m as a factor μ times, etc.: hence (by the previous article) λ, μ, π will all be divisible by n, and therefore

an=lλnmμnpπn

will be an integer. The same will be true for b, c etc.

These facts about prime numbers having been put forth, we now turn to other things which will lead us more directly to our goal.

Article 22

If the numbers a and b are divisible by k, and are congruent with respect to a modulus m that is relatively prime to k, then ak and bk are congruent with respect to that same modulus.

It is clear that ab is divisible by k, and also by m (by hypothesis); thus abk will be divisible by m (Art. 19), i.e. akbk(modm).

If the numbers m and k instead have a common divisor e, then we will have akbk(modme). For ke and me are relatively prime, and ab is divisible by k and by m, so abe is divisible by ke and by me and therefore by mke2, i.e. abk is divisible by me, or equivalently akbk(modme).

Article 23

If numbers a and m are relatively prime, and numbers e and f are incongruent modulo m, then ae and af will also be incongruent modulo m.

This is a restatement of the theorem of the preceding article.

Hence it is clear that if we multiply all of the integers from 0 to m1 by a, and reduce these products to their minimal residues modulo m, the resulting residues will all be distinct. Since the number of these residues is m, and none of them is >m, it is also clear that every integer in the series from 0 to m1 will be found among them.

Article 24

The expression ax+b, in which a and b are given numbers and x is an indeterminate or variable number, can be made congruent to any given number modulo m, provided that m is relatively prime to a.

Let c be the number to which it must be congruent, and let e the minimal positive residue of cb. By the preceding article, it is possible to find a value x<m such that the minimal residue of the product ax modulo m is equal to e; let v be this value. Then avecb, thus av+bc(modm) Q.E.F.

Article 25

We will call any expression which takes the form of an equation, and relates two congruent quantities, a congruence; if it contains an unknown, to solve it means to find a value for this unknown which satisfies the congruence (a root). By this we understand what it means for a congruence to be solvable or unsolvable. It is easy to see that the same distinctions that apply to equations can also be applied congruences. Later we will see examples of transcendental congruences; as for algebraic congruences, they are divided according to the highest power of the unknown, into congruences of the first, second, and higher degree. One can even propose several congruences containing several unknowns, to which elimination must be applied.

Article 26

Template:Smaller

From Art. 24 it follows that first degree congruences ax+bc are always solvable, provided that the modulus is relatively prime to a. In this case, let v be the appropriate value for x, or the root of the congruence. Then it is clear that all numbers congruent to v modulo m, will also be roots (Art. [[../First_Section#Article_9|9]]). It is equally clear that all roots must be congruent to v: for if t is another root, then we have av+bat+b, so avat, and thus vt (Art. 22). We conclude from this that the congruence xv(modm), gives the complete solution to the congruence ax+bc.

Since the congruence is solved by values of x which are all congruent to each other, and in this context congruent numbers must be considered equivalent, we will consider these solutions as one and the same. Therefore, since our congruence ax+bc, does not admit any other solutions, we say that it can only be solved in one way or has only one root. So e.g. the congruence 6x+513(mod11) does not admit any roots other than those which are 5(mod11). The situation is different for higher degree congruences, and even for first degree congruences where the coefficient of the unknown is not relatively prime to the modulus.

Article 27

It remains for us to add some details about how to solve this kind of congruence. First, observe that any congruence of the form ax+tu, in which the modulus is assumed to be relatively prime to a, can be reduced to the congruence ax±1. For if xr satisfies the latter, then x±r(ut) will satisfy the former. But the congruence ax±1, whose modulus is denoted by b, is equivalent to the indeterminate equation ax=by±1, whose solution is known; therefore it will be sufficient for us to provide an algorithm by which this calculation can be carried out.

If quantities A, B, C, D, E, etc. depend on others α, β, γ, δ etc. in such a way that

A=α,B=βA+1,C=γB+A,D=δC+B,E=εD+C etc.

then for the sake of brevity we write[1]

A=[α],B=[α,β],C=[α,β,γ],D=[α,β,γ,δ] etc.

Now, consider the equation ax=by±1, where a and b are positive. Suppose, as is permitted, that a is not less than b. Then, according to the well-known algorithm for finding the greatest common divisor of two numbers, the following equations will be formed by division,

a=αb+c,b=βc+d,c=γd+e, etc.

so that α, β, γ, δ etc. are positive integers, and b, c, d, e etc. are continually decreasing, until we reach m=μn+1; which must always happen. Then we will have

a=[n,μ,γ,β,α],b=[n,μ,γ,β]

Setting

x=[μ,γ,β],y=[μ,γ,β,α]

we will have ax=by+1, when the number of quantities α, β, γμ, n is even, and ax=by1, when it is odd.

Article 28

The general solution of these equations was first given by Euler, Comment. de Petersb. T. VII, p. 46. The method he used consists of substituting other unknowns in place of x and y, and it is indeed well known. Lagrange treated the problem in a slightly different manner. He observed that if one decomposes the fraction ab into a continued fraction

1α+1β+1γ+1+1μ+1n

then after erasing the last part 1n, it reduces to an ordinary fraction xy, and one has ax=by±1, so long as a and b are relatively prime. In fact, the two methods lead to the same algorithm. Lagrange’s investigations can be found in the Histoire de l’Académie de Berlin, Année 1767, p.  175, and along with others in Supplementis versioni gallicae Algebrea Eulerianae adiectis.

Article 29

The congruence ax+tu, in which the modulus is not relatively prime to a, is easily reduced to the previous case. Let m be the modulus and let δ be the greatest common divisor of a and m. It is first of all clear that any value of x which satisfies the proposed congruence modulo m, will also satisfy it modulo δ (Art. 5). But since δ divides a, we always have ax0(modδ). Therefore, we must have tu(modδ), i.e. tu must be divisible by δ, in order for the congruence to be solvable.

Let us therefore set a=δe, m=δf, tu=δk, so that e and f will be relatively prime. Then the proposed congruence δex+δk0(modδf), will be equivalent to ex+k0(modf), i.e. any value of x that satisfies the second one will also satisfy the first one, and vice versa. For it is clear that ex+k will be divisible by f whenever δex+δk is divisible by δf, and vice versa. But we have already seen how to solve the congruence ex+k0(modf), hence it is clear that if ν is one of the values of x, then xν(modf) gives the complete solution of the proposed congruence.

Article 30

When the modulus is composite, it is often advantageous to use the following method:

Let the modulus =mn, and let the proposed congruence axb. First solve the congruence modulo m, and suppose that it is satisfied for xν(modmδ), where δ is the greatest common divisor of the numbers m and a. Now it is evident that any value of x which satisfies the congruence axb(modmn) will also satisfy the congruence axb(modm), and thus it will be included in the form ν+mδx, where x denotes an undetermined number. However, not all numbers of this form will satisfy the congruence modulo mn. Rather, the values of x must be chosen in such a way that ν+mδx, is a root of the congruence axb(modmn); hence we will have amxδ+aνb(modmn) or equivalently amδxbaνm(modn). It follows from this that the solution of any congruence of the first degree modulo mn can be reduced to the solution of two congruences, one modulo m and the other modulo n. It is easy to see that if n is the product of two factors, the solution of the congruence modulo n depends on the solution of two congruences with these factors as moduli; and generally, the resolution of a congruence modulo any composite modulus depends on the resolution of other congruences, whose moduli are the factors of the first one, and these moduli can always be chosen to be prime numbers, if it seems convenient.

Ex. consider the congruence 19x1(mod140); if we first solve it modulo 2, we get x1(mod2). By setting x=1+2x, we get 38x18(mod140) or 19x9(mod70). Solving this modulo 2, we get x1(mod2), and setting x=1+2x, we get 38x28(mod70) or 19x14(mod35). Solving this modulo 5 gives x4(mod5), and substituting x=4+5x, we have 95x90(mod35) or 19x18(mod7). From this it follows that x2(mod7), and thus x=2+7x, from which we have x=59+140x; therefore x59(mod140) is the complete solution of the proposed congruence.

Article 31

In the same way that the root of the equation ax=b is expressed by ba, we will also denote the root of the congruence axb by ba, including the modulus of the congruence for the sake of clarity. So e.g. 1917(mod12) represents an arbitrary number which is 11(mod12).[2] It is generally clear from the above that ba(modc) does not have a real meaning in the case where a and c have a common divisor that does not divide b (or, if one prefers, it is imaginary). However, except in this case, the expression ba(modc) will always have real values, and indeed infinitely many, which will all be congruent modulo c when a is relatively prime to c, or more generally modulo cδ where δ is the greatest common divisor of a and c.

These expressions have almost the same arithmetic as ordinary fractions. Here we add some properties that can be easily deduced from what we have already shown:

  1. If aα and bβ modulo c, then the expressions ab(modc) and αβ(modc) are equivalent.
  2. aδbδ(modcδ) and ab(modc) are equivalent.
  3. akbk(modc) and ab(modc) are equivalent if k is relatively prime to c

Many other similar propositions might be added here: but as they are not difficult, and unnecessary for what follows, we now move on to other things.

Article 32

Template:Smaller

A problem which will be of great use in what follows is to find all the numbers which form given remainders according to several given moduli. It is easy to solve this from what has already been presented. Let A and B be two given moduli, and let us seek a number z which is congruent to the numbers a and b with respect to these moduli, respectively. Then all values of z will necessarily be contained in the form Ax+a, where x is undetermined, but also satisfies Ax+ab(modB). If the greatest common divisor of A and B is δ, then the complete solution of this congruence will take the form xv(modBδ), or equivalently x=v+kBδ, where k is an undetermined integer; thus the form a+Av+kABδ contains all values of z, i.e. the complete solution of the problem will be za+Av(modABδ). Now if there were a third modulus C, relative to which the number z must be c, then it is clear how to proceed in the same way, since the two original conditions have already been merged into one. Namely, letting ε be the greatest common divisor of the numbers ABδ and C, we will obtain the congruence ABδx+a+Avc(modC), which can be solved by a congruence of the form xw(modCε). Then the problem will be solved by the congruence zABδw+a+Av(modABCδε). One can proceed in the same way, regardless of the number of moduli. It is worth noting that ABδ and ABCδε are the least numbers divisible by A, B, and by A, B, C, respectively. Thus one easily deduces, regardless of the number of moduli A, B, C etc., that if M denotes the smallest number divisible by all of them, then the complete solution will be of the form zr(modM). Moreover, if one of the congruences is not solvable, it must be concluded that the problem is impossible. However, it is evident that this cannot happen if the numbers A,B,C etc. are all relatively prime to each other.

Ex. Let A=504, B=35, C=16, a=17, b=4, c=33. Here the first two conditions, z17(mod504) and 4(mod35), can be reduced to a single condition z521(mod2520). Combining this with the third condition, z33(mod16), one obtains z3041(mod5040).

Article 33

When the numbers A, B, C etc. are all relatively prime to each other, their product is the smallest number divisible by each of them; and in this case it is obvious that the congruences za(modA), zb(modB) etc. together will be equivalent to a single congruence zr(modR), where R denotes the product of the numbers A, B, C etc. Conversely, it follows from this that a single condition zr(modR) can be decomposed into several; namely, if R is decomposed into several mutually relatively prime factors A, B, C etc., then the combined conditions zr(modA), zr(modB), zr(modC), etc. will be equivalent to the original one. This observation gives us not only the means to discover an impossibility when it exists, but also a more convenient and elegant method of calculation.

Article 34

Let the conditions proposed above be za(modA), zb(modB), zc(modC). Resolve all of the moduli into mutually relatively prime factors, A into AAA etc.; B into BBB etc. etc., so that the numbers A, A etc. B, B etc. etc. are either primes or powers of primes. Of course, if one of the numbers A, B, C is already prime itself, or a power of a prime number, then it need not be resolved into factors. Then it is clear from the above that, in place of the proposed conditions, one can substitute za(modA), za(modA), za(modA) etc., zb(modB), zb(modB) etc. etc. Now, unless all the numbers A, B, C etc. are mutually prime, e.g. if A and B are not relatively prime, then it is clear that the prime divisors of A and B, cannot all be different, and one of the divisors A, A, A etc. must find its equal, its multiple, or its submultiple among the divisors B, B B etc. In the first case, if A=B, then the conditions za(modA), zb(modB), must be identical, or equivalently ab(modA or B), then one or the other of these two conditions can be rejected. On the other hand, if ab(modA) does not hold, the problem is impossible. In the second case, if B is a multiple of A, then the condition za(modA) must be contained in zb(modB), or in other words it can be used to deduce zb(modA). Under these conditions, the condition za(modA) can be rejected, if it does not contradict the other one (in which case the problem would be impossible). When all the superfluous conditions are thus rejected, it is clear that all the remaining moduli are mutually prime; one is then sure of the possibility of the problem, and one can proceed according to the method given above.

Article 35

If as above we set z17(mod504), 4(mod35), and 33(mod16), then these conditions can be reduced to the following: z17(mod8), 17(mod9), 17(mod7); z4(mod5), 4(mod7); z33(mod16). From these conditions, we can reject z17(mod8) and z17(mod7), since the former is contained in the condition z33(mod16), and the latter is equivalent to z4(mod7); we are then left with

z{17(mod9)4(mod5)4(mod7)33(mod16)}

from which we obtain

z3041(mod5040).

Now, it is clear that it would often be more convenient if, of the remaining conditions, those which had been derived from one and the same condition were combined into a single condition. This can be done easily; e.g. when some of the conditions za(modA), za(modA) etc. have been rejected, the rest can be restored as za with respect to the modulus formed by the product of the remaining moduli. Thus in our example the condition z4(mod35) can be recovered from the conditions z4(mod5) and z4(mod7). Now, it does make some difference which of the superfluous conditions are rejected, as far as the brevity of the calculation is concerned. But this is not the place to discuss these details or other practical tricks, which are learned from practice much more easily than from precepts.

Article 36

When the moduli A, B, C, D etc. are mutually relatively prime, it is often preferable to use the following method. Let α be a number which is congruent to unity modulo A, and which is divisible by the product of the other moduli; that is, α will be any value (the minimum is generally best) of the expression 1BCD etc.(modA), multiplied by BCD etc. (see Art. 32); similarly, let β1(modB) and 0(modACD etc.), γ1(modC) and 0(modABD etc.) etc. Then to find a number z which is congruent to the numbers a, b, c, d etc. modulo A, B, C, D etc. respectively, we can set

zαa+βb+γc+etc.(modABCD etc.)

Then we clearly have αaa(modA), and the other terms are 0(modA); hence za(modA). The demonstration is the same for the other moduli. This solution is preferable to the first one when solving several problems of the same kind, for which the values of A, B, C etc. are the same; for then the values of α, β, γ etc. remain constant. This can be applied to the chronological problem in which we must find the Julian year which has a given indiction, the golden number, and the solar cycle. Here A=15, B=19, C=28; thus the value of the expression 119.28(mod15), or 1532(mod15), is 13, and we have α=6916. Similarly, we find β=4200,γ=4845, hence the desired number will be the minimal residue of the number 6916a+4200b+4845c, where a denotes the indiction, b the golden number, and c the solar cycle.

Article 37

Template:Smaller

Enough has been said about congruences of the first degree which contain only one unknown. It remains to deal with congruences that involve several unknowns, but since it would be too extensive to present everything rigorously in this chapter, and our goal is not to exhaust the subject here, but only to present what is most worthy of attention, we will limit our discussion to a few observations, reserving the complete exposition for another occasion.

1. Just as for equations, it can be seen that there must be as many congruences as there are unknowns for a solution to determined.

2. Let the following congruences be proposed

ax+by+czf'(modm)....'(A)ax+by+czf'(modm)....'(A)ax+by+czf(modm)....(A)

and assume that the number of these congruences is the same as the number of unknowns x, y, z etc.

Then determine numbers ξ, ξ, ξ etc. so that

bξ+bξ+bξ+etc.=0,cξ+cξ+cξ+etc.=0, etc.

and so that these numbers are integers with no common divisor (which is always possible, by the theory of linear equations).

In a similar way, determine ν, ν, ν etc., ζ, ζ, ζ etc. etc. so that

aν+aν+aν+etc.=0cν+cν+cν+etc.=0etc.aζ+aζ+aζ+etc.=0bζ+bζ+bζ+etc.=0,etc.

3. It is clear that if we multiply the congruences A, A, A etc. first by ξ, ξ, ξ etc. and then by ν, ν, ν etc. etc. and add them, we will obtain the following:

(aξ+aξ+aξ+etc.)xfξ+fξ+fξ+etc.(bν+bν+bν+etc.)yfν+fν+fν+etc.(cζ+cζ+bζ+etc.)zfζ+fζ+fζ+etc.

For the sake of brevity, we will write these congruences as

Σ(aξ)xΣ(fξ),Σ(bν)yΣ(fν),Σ(cζ)zΣ(fζ)etc.

4. There are now several cases to distinguish.

First, when the coefficients of the unknowns, Σ(aξ), Σ(bν) etc. are all relatively prime to the modulus m, the above congruences can be solved by the methods already presented, and the complete solution of the problem will be given by congruences of the form xp(modm), yq(modm) etc.[3]. E.g. if we propose the congruences

x+3y+z1,4x+y+5z7,2x+2y+z3(mod8),

we will find ξ=9, ξ=1, ξ=14, hence 15x26 and therefore x6(mod8); likewise, we will find 15y4, 15z1, and hence y4, z7(mod8).

5. Second, If the coefficients Σ(aξ), Σ(aξ), Σ(bν) etc. are not all relatively prime to the modulus, let α, β, γ etc. be the greatest common divisors of m and Σ(aξ), Σ(bν), Σ(cζ) etc. respectively. Then it is clear that the problem is impossible unless the numbers Σ(fξ), Σ(fν), Σ(fζ) etc. are divisible by α, β, γ etc. respectively. On the other hand, when these conditions hold, the problem will be completely solved by congruences of the form xp(modmα),yq(modmβ),zr(modmγ) etc., or if you prefer, there will be α different values for x (i.e. the values p,p+mα,p+(α1)mα, which are incongruent modulo m), β values for y, etc. that will satisfy the congruences. Clearly, all solutions to the problem, if there are any, must be found among those we have just indicated. However, it is not allowed to reverse this conclusion; for in general it is not true that all combinations of the α values of x, with those of y and those of z etc. will satisfy the problem, but only some of them whose connection must be expressed by means of one or more conditional congruences. However, since the complete solution of this problem is not necessary for the following, we will not go any further on this subject and content ourselves to give the idea with an example.

Let the following congruences be proposed:

3x+5y+z4,2x+3y+2z7,5x+y+3z6(mod12),

Then we will have

ξ=1,ξ=2,ξ=1,ν=1,ν=1,ν=1,ζ=13,ζ=22,ζ=1,

hence 4x4, 7y5, 28z96. From this we obtain four values of x, namely, x2, 5, 8, 11; one value of y, namely y11; and four values of z, namely, z0,3,6,9(mod12). To find out which combinations of the values of x and z are permissible, substitute 2+3t, 11, 3u, for x, y, z in the given congruences. After this, they become

57+9t+3u0,30+6t+6u0,15+15t+9u0(mod12),

which are easily seen to be equivalent to

19t+3t+u0,10+2t+2u0,5+5t+3u0(mod4).

The first congruence clearly requires that ut+1(mod4), and the rest will clearly be satisfies if this value is substituted in them. We conclude from this that the values x2, 5, 8, 11 (which are obtained by successively setting t=0, 1, 2, 3) must be combined respectively with the values z3, 6, 9, 0, so there are four solutions altogether,

x2,5,8,11(mod12)y11,11,11,11z3,6,9,0

To these investigations, which complete the task we had set ourselves in this section, we will add some propositions based on similar principles, which will be needed frequently in what follows.

Article 38

Template:Smaller

Template:Sc Determine how many numbers are less than and relatively prime to a given positive number A.

For the sake of brevity, let us denote the number we seek by the prefixed symbol ϕ. So, the problem is to find ϕA.

I. When A is prime, it is clear that all numbers from 1 to A1, are relatively prime to A; therefore, in this case, we have

ϕA=A1.

II. When A is a power of a prime number p, say pm, then all numbers divisible by p will not be prime with A, and the others will be. Therefore, of the pm1 numbers, we must reject p, 2p, 3p (pm11)p; so there remain pm1(pm11). Hence

ϕpm=pm1.(p1).

III. The other cases can be easily reduced to these, by means of the following proposition: If we factor A into factors M, N, P etc. which are all relatively prime to each other, then

ϕA=ϕM.ϕN.ϕP etc.

which can demonstrated as follows. Let m, m, m etc. be the numbers which are less than and relatively prime to M, whose multitude is therefore ϕM. Similarly, let the numbers less than and relatively prime to N, P etc. be n, n, n etc.; p, p, p etc. etc., whose multitudes are ϕP, ϕN etc. It is clear that any number relatively prime to A will also be relatively prime to the factors M, N, P etc. and vice versa (Art. 19). Furthermore, all numbers that are congruent to one of the numbers m, m, m etc. modulo M will be relatively prime to M, and the same applies for N, P etc. The question is therefore reduced to determining how many numbers are less than A and congruent to one of the numbers m, m, m etc. modulo M, to one of the numbers n, n, n etc. modulo N, etc. However, it follows from Art. 32 that all numbers with given residues modulo M, N, P etc. must be congruent modulo the product A, and therefore there can only be one number less than A which is congruent to the given residues modulo M, N, P etc. Therefore, the number we seek will be equal to the number of combinations of the individual numbers m, m, m etc. with the individual numbers n, n, n etc. and p, p, p etc. etc. It is evident from the theory of combinations that this number is ϕ(M).ϕ(N).ϕ(P) etc. Q.E.D.

IV. It is easy to see how to apply this proposition in the case at hand. We will decompose A into prime factors; that is, we will reduce it to the form aαbβcγ etc., with a, b, c etc. being distinct prime numbers. Then we will have

ϕA=ϕaαϕbβϕcγ etc.=aα1(a1)bβ1(b1)cγ1(c1) etc.

which can be put in the more elegant form

ϕA=Aa1ab1bc1c etc.

Example: Take A=60=2235. Then we have ϕA=60122345=16. The numbers which are less than and relatively prime to 60 are 1, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 49, 53, 59.

The first solution of this problem can be found in Euler’s commentary, Theoremata arithmetica nova methodo demonstrata, Comm. nov. Ac. Petrop. VIII p. 74. A demonstration was also provided in another dissertation Speculationes circa quasdam insignes proprietates numerorum Acta Petrop. VIII, p. 17.

Article 39

If the meaning of the symbol ϕ is determined in such a way that ϕA expresses how many numbers are relatively prime to A and not greater than A, then we will have ϕ1=1 instead of 0. However, in all other cases, nothing will change. Adopting this definition, we have the following theorem:

If a, a, a etc. are all of the divisors of A, including 1 and A, then

ϕa+ϕa+ϕa+etc.=A.

Ex. If A=30, we have

ϕ1+ϕ2+ϕ3+ϕ5+ϕ6+ϕ10+ϕ15+ϕ30=1+1+2+4+2+4+8+8=30

Proof. If we multiply all numbers coprime with a and not greater than a by Aa, and similarly all numbers coprime with a by Aa etc., then we will have ϕa+ϕa+ϕa+ etc. numbers, all of which are not greater than A. However,

  1. All of these numbers will be distinct. Indeed, it is clear that those coming from the same divisor of A are all distinct. On the other hand, if two equal numbers resulted from different divisors M and N, and from numbers μ and ν respectively, that is, if AMμ=ANν, then we would have Nμ=Mν. Assuming that M>N (which is allowed), then since M is relatively prime to μ and divides Nμ, it would follow that the larger number M divides the smaller number N, Q.E.A.
  2. Among these numbers, we will find all of those which make up the sequence 1,2,3,,A. Indeed, let t be any number that does not exceed A, and let δ be the greatest common divisor of A and t. Then Aδ will be a divisor of A which is relatively prime to tδ. Then clearly the number t will be among those that were produced by the divisor Aδ.
  3. It follows from this that the multitude of these numbers is A, and hence

Template:Center

Article 40

If μ is the greatest common divisor of the numbers A, B, C, D etc., then numbers a, b, c, d etc. can be determined so that

aA+bB+cC+etc.=μ.

Let us first consider only two numbers A and B, and let λ be their greatest common divisor. Then the congruence Axλ(modB) will be solvable (Art. 30). Let the root be α, and set λAαB=β. Then we will have αA+βB=λ, as desired.

If there is a third number C, let λ be the greatest common divisor of λ and C. Note that λ will also be the greatest common divisor of the three numbers A, B, C.[4] Then let numbers k and γ be determined so that kλ+γC=λ, and we will have kαAλ+kβB+γC=λ.

If there is a fourth number D, let λ be the greatest common divisor of λ and D (which, it is easily seen, will also be the greatest common divisor of the four numbers A, B, C, and D). Then let kλ+δD=λ, and we will have kkαA+kkβB+kγC+δD=λ.

We would proceed in a similar way if there were more numbers.

In particular, if the numbers A, B, C etc. have no common divisor, then it is clear that we can find A, B, C etc. so that

aA+bB+cC+etc.=1.

Article 41

If p is a prime number, and if there are p objects among which any number may be equal (provided that they are not all equal), then the number of permutations of these objects will be divisible by p.

For example, five objects A,A,A,B,B can be arranged in ten different ways.

The demonstration of this theorem is easily deduced from the well-known theory of permutations. Indeed, suppose that, among these p things, there are a equal to A, b equal to B, c equal to C etc. (where the numbers a, b, c can also represent unity), so that we have

a+b+c+=p

Then the number of permutations will be

=1.2.3p1.2a.1.2b.1.2c etc.

It is clear that the numerator of this fraction is divisible by the denominator, since the number of permutations is an integer: but the numerator is divisible by p, whereas the denominator, which is composed of factors smaller than p, is not divisible by p (Art. 15). Therefore, the number of permutations will be divisible by p (Art. 19).

That being said, we hope that the following demonstration will not be unwelcome.

When in two permutations the order of the objects only differs in that the item which occupied the first place in one, now occupies a different one in the other, while the other objects, starting from that one, follow the same order in each of the permutations, so that the last item in one is immediately before the first item in the other. Then we will call them similar permutations[5]. So, for example, the permutations ABAAB and ABABA will be similar, since the things which in the former occupy the first place, second place, etc. occupy the third place, fourth place, etc. in the latter.

Now, as each permutation consists of p objects, it is clear that one can find p1 similar permutations, if one puts successively at the second place, third place, etc. the item which occupied the first place. Therefore, if none of these similar permutations are identical, it is evident that the total number of permutations will be equal to p times the number of dissimilar permutations, and consequently will be divisible by p. Let us suppose, then, that two similar permutations

PQTVYZ,VYZPQT

one of which has arisen from the other by the promotion of terms, are identical, in the sense that P=V etc. Suppose that the term P, which occupies the first place in the first permutation, occupies the n+1st in the second. Then in the latter series, the n+1st term will be equal to the first, the n+2nd will be equal to the second, etc., from which it follows that the 2n+1st will again be equal to the first, and likewise for the 3n+1st, and in general the kn+mth will be equal to the mth (where, when kn+m>p, it is necessary to imagine that either the series VYZPQT is repeated from the beginning, or that we subtract a multiple of p from kn+m). Therefore, if we determine k in such a way that kn1(modp), which can always be done since p is prime, it will follow that generally the mth term will be equal to the m+1st, i.e. all the terms will be equal to each other, contrary to the hypothesis.

Article 42

If the coefficients A, B, CN; a, b, cn; of two functions of the form

xm+Axm1+Bxm2+Cxm3+N....(P)xμ+axμ1+bxμ2+cxμ3+n....(Q)

are all rational, but not all integers, and their product is

xm+μ+𝔄xm+μ1+𝔅xm+μ2+𝔑,

then the coefficients 𝔄, 𝔅𝔑 cannot all be integers.

Indeed, let us simplify to their simplest form all fractions that may be found among the numbers A, B etc. a, b etc., and choose a prime number p that divides one or more of the denominators of these fractions. Let us assume, as we may, that p divides the denominator of a fractional coefficient in (P). It is clear that if (Q) is divided by p, then at least one fractional coefficient in (Q)p will have a denominator divisible by p (in particular, the coefficient of the first term will be 1p). It is then easy to see that in (P) there is a term whose denominator contains a power of p raised to a power which is greater than in all of the preceding terms, and not less than in all of the terms which follow. Let Gxg be such a term, and let t be the exponent of p in its denominator. Let the analogous term in (Q)p be Γxγ, and let the exponent of p in the denominator be τ. Then clearly t+τ will be at least 2. With this in mind, the term xg+γ of the product of (P) and (Q) will have a fractional coefficient whose denominator contains p raised to the power t+τ1, as will now be shown.

Let 'Gxg+1, 'Gxg+2 etc. be the terms preceding Gxg in (P), and let Gxg1, Gxg2 etc. be those which follow it. Similarly, let 'Γxγ+1, 'Γxγ+2 etc. be the terms preceding Γxγ in (Q)p, and let Γxγ1, Γxγ2 be those which follow it. Then in the product of (P) and (Q)p, the coefficient of xg+γ will clearly be

=GΓ+'GΓ+'GΓ+.+'ΓG+'ΓG+.

The term GΓ will be a fraction which, when reduced to its simplest form, will have a denominator divisible by pt+τ. If the other terms are fractional, then their denominators will contain only powers of p less than pt+τ, since each of them is the product of two factors, one of which contains only a power of p smaller than pt or pτ, and the other a power not greater than pt or pτ. Thus GΓ will be of the form efpt+τ, and the rest will be of the form efpt+τδ, where e, f, and f are relatively prime to p. Therefore the sum of these will be =ef+efpδffpt+τ, a fraction whose numerator is not divisible by p. Hence this fraction cannot be reduced in any way so that its denominator contains a a power of p smaller than pt+τ. Therefore, the coefficient of the term xg+γ in the product of (P) by (Q) will be

ef+efpδffpt+τ1

i.e. a fraction, whose denominator is divisible by at least the t+τ1st power of p. Q.E.D.

Article 43

A congruence of the mth degree,

Axm+Bxm1+Cxm2++Mx+N0

whose modulus is a prime number p that does not divide A, cannot have more than m solutions, or equivalently cannot have more than m incongruent roots modulo p (See Arts. 25, 26).

If anyone denies it, let us suppose that congruences of different degrees m, n etc. are given, which have more than m, n etc. roots. Let m be the smallest of all of these, so that all congruences of degree lower than m are consistent with our theorem. Since it has already been demonstrated above (Art. 26) that the theorem holds for congruences of the first degree, it is clear that m will be =2 or greater. Let us therefore assume that the congruence

Axm+Bxm1+Cxm2++Mx+N0

has at least m+1 roots xα, xβ, xγ etc., and suppose that all of the numbers α, β, γ etc. are positive and less than p,, with the smallest being α. Now let us substitute y+α for x in the proposed congruence, with the result being

Aym+Bym1++My+N0

Then it is clear that this congruence will be satisfied if we put y0 or βα, or γα etc., and that all of these roots will be distinct, with their multitude being m+1. However, since y0 is a root, it follows that N is divisible by p. From this we obtain

y(Aym1+Bym2++M)0(modp)

a congruence that will be satisfied by substituting for y any of the m values βα, γα etc. which are all >0 and <p, and therefore in these cases

Aym1+Bym2++M

will become 0 (Art. 22), i.e. the congruence

Aym1+Bym2++M0,

which is of degree m1, would have m roots; which contradicts our theorem (for it is easy to see that A;=A, and therefore it is not divisible by p, as required), even though we assumed that all congruences of a degree lower than m satisfy it. Q.E.A.

Article 44

Although we have assumed here that the modulus p does not divide the coefficient of the first term, the theorem is not restricted to this case. For if the first coefficient, and even some of the following ones, were divisible by p, then these terms could be neglected without error, and the congruence would be reduced to a lower degree, such that the coefficient of the first term would no longer be divisible by p. Indeed, not all coefficients can be divisible by p; in this case the congruence would be an identity, and the unknown would be completely indeterminate.

Lagrange was the first to propose and prove the theorem (Mem. de l'Ac de Berlin, Année 1768 p.192). It is also found in Legendre’s dissertation, Recherches d’Analyse indéterminée, Hist. de l'Acad. de Paris 1785 p. 466). Euler proved, in Nouveaux Commentaires Académiques. Pétersb. XVIII, p. 93, that the congruence xn10 could not have more than n roots. Although this is only a particular case, his method can easily be applied to all congruences. He had already dealt with a still more limited case, Comm. nov. Ac. Petr. V. p. 6, but this method cannot be used in general. In Section VIII below, we will demonstrate this theorem in yet another way; but no matter how different all these methods may seem at first glance, experts who wish to compare them will easily verify that they all originate from the same principle. Furthermore, this theorem should only be considered here as a lemma, and the complete exposition does not belong to this section, so we will treat the case of a composite modulus elsewhere.

  1. This relationship of quantities can be considered in a much more general manner, and we may do so on another occasion. Here we will add only two propositions, which find their application in the present question, namely:
    1. [α,β,γ,λ,μ].[β,γ,λ][α,β,γ,λ].[β,γ,λ,μ]=±1;
    where the upper sign will be taken when the number of α quantities is even, and the lower sign otherwise.
    2. The order of the quantities α,β,γ, can be reversed, so that [α,β,γ,λ,μ]=[μ,λ,γ,β,α]
    We omit the demonstrations, which are not difficult.
  2. This could just as well be denoted by 111(mod12).
  3. It should be noted that this conclusion lacks a demonstration, which we omit here. Strictly speaking, nothing follows from our analysis other than that the proposed congruences cannot be solved by other values of x, y, etc. but not necessarily that these values satisfy the congruences; it is even possible that there may be no solution. The same fallacy arises in solving linear equations.
  4. It is clear that λ divides each of the numbers A, B, C. If it were not the greatest common divisor of A, B, C, then there would be one greater than λ. However, this one would divide kαA+kβB+γC, i.e. λ, Q.E.A. This can still more easily be deduced from Art. 18
  5. If one were to write the similar permutations in a circle, in such a way that the last item is adjacent to the first, then there would be no difference between them, because no place could be called the first or the last