Translation:Disquisitiones Arithmeticae/First Section

Recherches_arithmétiques

Article 1
Congruent numbers, moduli, residues and non-residues

If a number $a$ divides the difference of two numbers $b$  and $c,$  then $b$  and $c$  are said to be congruent modulo $a;$  otherwise they are incongruent: the number $a$  will be called the modulus of the congruence. In the former case, the numbers $b$ and $c$  are said to be residues of each other, and in the latter case they are said to be non-residues.

These notions apply to all integers, both positive and negative, but they are not to be extended to fractions.

E.g. $-9$ and $+16$  are congruent with respect to the modulus $5;$  $-7$  is a residue of $15$  with respect to the modulus $11,$  and a non-residue with respect to the modulus $5.$

Additionally, since $0$ is divisible by any number, it follows that every number must be considered as congruent to itself with respect to any modulus.

Article 2
All residues of a given number $a$ modulo $m$  are included in the formula $a+km,$  where $k$  is an undetermined integer. The simplest of the propositions that we are going to present can be easily demonstrated in this way; but indeed their truth can be equally easily discerned by anyone who looks at them.

From now on, we will denote congruences between two numbers using the symbol $\equiv,$ adding, when necessary, the modulus enclosed in parentheses, e.g. $-16\equiv 9\pmod{5},$  $-7\equiv 15\pmod{11}$.

Article 3
Given $m$ successive integers

$$a, a+1, a+2 \dots a+m-1$$

and another $A,$ one and only one of them will be congruent to $A$  modulo $m.$

If $\frac{a-A}{m}$ is an integer, we will have $a\equiv A.$  If it is a fraction, let $k$  be the next largest integer (or the next smallest, if it is negative and the sign is disregarded). Then $A+km$ will necessarily fall between $a$  and $a+m,$  and thus it will be the number which is sought. Moreover, it is clear that the quotients $\frac{a-A}{m},$ $\frac{a+1-A}{m},$  $\frac{a+2-A}{m}$  etc. are between $k-1$  and $k+1;$  therefore no more than one of them can be an integer.

Article 4
Minimal residues.

It follows that every number will have a residue in the sequence $0,$ $1,$  $2, \dots (m-1),$  and also in the sequence $0,$  $-1,$  $-2, \dots -(m-1).$  We will call these minimal residues. It is clear that, unless $0$ is a residue of the number, there will always be two minimal residues, one positive and the other negative. If their magnitudes are not equal, then one of them will be $<\frac{m}{2};$ otherwise, both will be $=\frac{m}{2},$  the sign being disregarded; hence it follows that any number has a residue that does not exceed half the modulus, and we will call this the absolute minimum.

E.g. $-13$ modulo $5,$  has minimal positive residue $2,$  which is also absolutely minimal, and also $-3,$  which is the negative  minimal residue; $+5$  modulo $7$  is its own minimal positive residue; $-2$  is the minimal negative residue, which is also the absolute minimum.

Article 5
Elementary propositions about congruences

From the notions we have just established, we immediately draw the following conclusions:

Numbers that are congruent with respect to a composite modulus are also congruent modulo any of its divisors.

If several numbers are congruent with respect to the same modulus, then they will also be congruent to each other (with respect to that modulus).

The same modulus is assumed throughout the following.

Congruent numbers have the same minimal residues; incongruent numbers have different ones.

Article 6
Given numbers $A,$ $B,$  $C$  etc., and as many others $a,$  $b,$  $c$  etc., and any modulus whatsoever,

If $A\equiv a,$ $B\equiv b$  etc., then $A+B+C+$  etc. $\equiv a+b+c+$  etc.

If $A\equiv a,$ $B\equiv b,$  then $A-B\equiv a-b.$ 

Article 7
If $A\equiv a,$ then also $kA\equiv ka.$ 

If $k$ is a positive number, then this is just a particular case of the previous article, with $A=B=C$  etc., $a=b=c$  etc. If $k$  is negative, then $-k$  will be positive; so $-kA\equiv -ka,$  and therefore $kA\equiv ka.$

If $A\equiv a,$ $B\equiv b,$  then $AB\equiv ab.$  For indeed, $AB\equiv Ab\equiv ba.$ 

Article 8
If numbers $A,$ $B,$  $ C$  etc. and $a,$  $ b,$  $ c$  etc. are pairwise congruent, then the products $ABC$  etc. and $abc$  etc. will also be congruent.

By the previous article, $AB\equiv ab;$ for the same reason $ABC=abc,$  and so on.

If the numbers $A,$ $B,$  $C$  etc. are assumed to be equal, and so are the numbers $a,$  $ b,$  $ c$  etc., then we obtain the following theorem: If $A\equiv a$  and $k$  is a positive integer, then  $A^k\equiv a^k.$

Article 9
Let $X$ be an algebraic function of the variable $x,$  of the form

$$Ax^a+Bx^b+Cx^c+\text{etc.}$$

''where $A,$ $B,$  $ C$  etc. are arbitrary integers, and $a,$  $b,$  $c\dots,$  are non-negative integers. If one gives congruent values to $x,$ then the resulting values for $X$  will also be congruent.''

Let $f$ and $g$  be congruent values of $x;$  by the previous article $f^a\equiv g^a$  and $Af^a \equiv Ag^a;$, and similarly $Bf^b\equiv Bg^b$  etc. Therefore,

$$Af^a+Bf^b+Cf^c+\text{etc.}\equiv Ag^a+Bg^b+Cg^c+\text{etc.}$$

Moreover, it is easy to understand how this theorem can be extended to functions of several variables.

Article 10
Thus if one substitutes consecutive integers in place of $x,$ and the values of $X$  are reduced to their minimal residues, they will form a sequence in which, after an interval of $m$  terms ($m$  being the modulus), the same terms will reappear; that is, this sequence will be formed from a period of $m$  terms, repeated ad infinitum. For example, let $X=x^3-8x+6$ and $m=5.$  Then for $x=0,$  $1,$  $2,$  $3$  etc., the values of $X$  yield minimal positive residues $1,$  $4,$  $3,$  $4,$  $3,$  $1,$  $4$  etc., where the first five terms $1,$  $ 4,$  $ 3,$  $ 4,$  $ 3$  are repeated ad infinitum; and if the series is continued in the opposite direction, that is, if negative values are assigned to $x,$  the same period reappears with the order of the terms inverted. From this it is clear that the series does not contain any terms other than those that make up the period.

Article 11
In this example, therefore, $X$ cannot become $\equiv 0,$  nor $\equiv 2 \pmod{5},$  and even less $=0$  or $=2.$  From this it follows that the equations $x^3-8x+6=0$  and $x^3-8x+4=0$  can have no integer solutions, and consequently no rational solutions. It can be seen in general that when $X$ is of the form

$$x^n+Ax^{n-1}+Bx^{n-2}+\dots+N;$$

with $A,$ $ B,$  $ C$  etc. being integers, and $n$  being a positive integer, that the equation $X=0$  (to which form it is clear that any algebraic equation can be reduced) will have no rational roots, if it happens that for a certain modulus the congruence $X=0$  cannot be satisfied; but this criterion, which arises here by itself, will be further developed in section VIII. At least from this example one can form some idea of the utility of these investigations.

Article 12
Some applications

Several of the theorems that are usually presented in arithmetic treatises rely on those we have presented; for example, the rule to recognize if a number is divisible by $9,$ $11,$  or any other number. Modulo $9,$ all powers of $10$  are congruent to unity; therefore if the proposed number is of the form $a+10b+100c+$ etc., then its minimal residue modulo $9$  will be the same as that of $a+b+c+$ etc. From this it is clear that if we add the digits of the number, disregarding the place that they occupy, the sum we obtain will have the same minimal residue as the original number, so that if the latter is divisible by $9,$  the sum of the digits will be as well, and conversely. The same applies to the divisor $3.$ Since $100\equiv+1$  modulo $11,$  we will generally have $10^{2k}\equiv+1, 10^{2k+1}\equiv-1,$  and thus a number of the form $a+10b+100c+$ etc. will have the same minimal residue as $a-b+c-$ etc.; hence the well-known rule is derived immediately. All similar rules can be easily deduced from the same principle.

The above also explains the reason for the rules that are usually prescribed for verifying arithmetic operations. If some given numbers must be deduced from others by addition, subtraction, multiplication, or raising to powers, we simply substitute in the operations, in place of the given numbers, their minimal residues with respect to an arbitrary modulus (by arbitrary, I really mean $9$ or $11,$  because in the decimal system, as we have just seen, we can easily find the residues relative to these moduli). The resulting numbers must be congruent to those obtained from the given numbers, otherwise it is concluded that a defect has crept into the calculation.

But since these and the like are abundantly well known, it would be superfluous to dwell on them for too long.