All public Sources
Public document

Mathematical Recreations and Essays

PDF document375 original pagesAdded to Pandi 6 November 2026
AskTalkView media
Reading progressPage 10 of 81

Mersenne’s result could not be obtained empirically, and it is impossible to suppose that it was worked out for every case; hence it would seem that whoever first enunciated it was acquainted with certain theorems in higher arithmetic which have not been re-discovered.

PERFECT NUMBERS†. The theory of perfect numbers depends directly on that of Mersenne’s Numbers. A number is said to be perfect if it is equal to the sum of all its integral subdivisors. Thus the subdivisors of 6 are 1, 2, and 3; the sum of these is equal to 6; hence 6 is a perfect number.

It is probable that all perfect numbers are included in the formula 2p−1(2p−1)2^{p-1}(2^p - 1), where 2p−12^p - 1 is a prime. Euclid proved that any number of this form is perfect; Euler showed that the formula includes all even perfect numbers; and there is reason to believe—though a rigid demonstration is wanting—that an odd number cannot be perfect. If


  • For references, see chapter ix below.

† On the theory of perfect numbers, see bibliographical references by H. Brocard, L’Intermédiaire des mathématiciens, Paris, 1895, vol. II, pp. 52–54; and 1905, vol. XII, p. 19.

Original PDF link to page 239

we assume that the last of these statements is true, then every perfect number is of the above form. It is easy to establish that every number included in this formula (except when p=2p = 2) is congruent to unity to the modulus 9, that is, when divided by 9 leaves a remainder 1; also that either the last digit is a 6 or the last two digits are 28.

Thus, if p=2,3,5,7,13,17,19,31,61p = 2, 3, 5, 7, 13, 17, 19, 31, 61, then by Mersenne’s rule the corresponding values of 2p−12^p - 1 are prime; they are 3, 7, 31, 127, 8191, 131071, 524287, 2147483647, 2305843009213693951; and the corresponding perfect numbers are 6, 28, 496, 8128, 33550336, 8589869056, 137438691328, 2305843008139952128, and 2658455991569831744654692615953842176.

GOLDBACH’S THEOREM. Another interesting problem in higher arithmetic is the question whether there are any even integers which cannot be expressed as a sum of two primes. Probably there are none. The expression of all even1 integers not greater than 5000 in the form of a sum of two primes has been effected*, but a general demonstration that all even integers can be so expressed is wanting.

LAGRANGE’S THEOREM†. Another theorem in higher arithmetic which, as far as I know, is still unsolved, is to the effect that every prime of the form 4n−14n - 1 is the sum of a prime of the form 4n+14n + 1 and of double a prime of the form 4n+14n + 1; for example, 23=13+2×523 = 13 + 2 \times 5. Lagrange, however, added that it was only by induction that he arrived at the result.

FERMAT’S THEOREM ON BINARY POWERS. Fermat enriched mathematics with a multitude of new propositions. With two exceptions all these have been proved subsequently to be true. The first of these exceptions is his theorem on binary powers, in which he asserted that all numbers of the form 2m+12^m + 1, where m=2nm = 2^n, are primes‡, but he added that, though he was convinced of the truth of this proposition, he could not obtain a valid demonstration.


  • Transactions of the Halle Academy (Naturforschung), vol. LXXII, Halle, 1897, pp. 5–214: see also L’Intermédiaire des mathématiciens, 1903, vol. x, and 1904, vol. XI.

† Nouveaux Mémoires de l’Académie Royale des Sciences, Berlin, 1775, p. 356.

‡ Letter of Oct. 18, 1640, Opera, Toulouse, 1679, p. 162: or Brassinne’s Précis, p. 143.

  1. ‘even’ inserted as per errata sheet

It may be shown that 2m+12^m + 1 is composite if mm is not a power of 2, but of course it does not follow that 2m+12^m + 1 is a prime if mm is a power of 2. As a matter of fact the theorem is not true. In 1732 Euler* showed that if n=5n = 5 the formula gives 4294,967297, which is equal to 641×6,700417641 \times 6,700417: curiously enough, these factors can be deduced at once from Fermat’s remark on the possible factors of numbers of the form 2m±12^m \pm 1, from which it may be shown that the prime factors (if any) of 232+12^{32} + 1 must be primes of the form 64n+164n + 1.

During the last thirty years it has been shown† that the resulting numbers are composite when n=6n = 6, 9, 11, 12, 18, 23, 36, and 38: the two last numbers contain many thousands of millions of digits. I believe that Eisenstein asserted that the number of primes of the form 2m+12^m + 1, where m=2nm = 2^n, is infinite: the proof has not been published, but perhaps it might throw some light on the general theory.

FERMAT’S LAST THEOREM. I pass now to the only other assertion made by Fermat which has not been proved hitherto. This, which is sometimes known as Fermat’s Last Theorem, is to the effect‡ that no integral values of xx, yy, zz can be found to satisfy the equation xn+yn=znx^n + y^n = z^n, if nn is an integer greater than 2. This proposition has acquired extraordinary celebrity from the fact that no general demonstration of it has been given, but there is no reason to doubt that it is true.

Fermat seems to have discovered its truth first§ for the case n=3n = 3, and then for the case n=4n = 4. His proof for the former of these cases is lost, but that for the latter is extant||, and a similar proof for the case of n=3n = 3 was given by Euler¶. These proofs depend upon showing that, if three integral values of xx, yy, zz can be found which satisfy the equation,


  • Commentarii Academiae Scientiarum Petropolitanae, St Petersburg, 1738, vol. VI, p. 104; see also Novi Comm. Acad. Sci. Petrop., St Petersburg, 1764, vol. IX, p. 101: or Commentationes Arithmeticae Collectae, St Petersburg, 1849, vol. i, pp. 2, 357.

† For the factors and bibliographical references, see the memoir by A.J.C. Cunningham and A.E. Western, Transactions of the London Mathematical Society, May 14, 1903, series 2, vol. i, p. 175.

‡ Fermat’s enunciation will be found in his edition of Diophantus, Toulouse, 1670, bk. II, qu. 8, p. 61; or Brassinne’s Précis, Paris, 1853, p. 53. For bibliographical references, see L’Intermédiaire des mathématiciens, 1905, vol. XII, pp. 11, 12.

§ See a letter from Fermat quoted in my History of Mathematics, London, chapter XV.

|| Fermat’s Diophantus, note on p. 339; or Brassinne’s Précis, p. 127.

¶ Euler’s Algebra (English trans. 1797), vol. II, chap. XV, p. 247.

then it will be possible to find three other and smaller integers which also satisfy it: in this way finally we show that the equation must be satisfied by three values which obviously do not satisfy it. Thus no integral solution is possible. It would seem that this method is inapplicable except when n=3n = 3 and n=4n = 4.

Fermat’s discovery of the general theorem was made later. An easy demonstration can be given on the assumption that every number can be resolved into prime (complex) factors in one and only one way. That assumption has been made by some writers, but it is not universally true. It is possible that Fermat made some such supposition, though it is perhaps more probable that he discovered a rigorous demonstration. At any rate he asserts definitely that he had a valid proof—demonstratio mirabilis sane—and the fact that every other theorem on the subject which he stated he had proved has been subsequently verified must weigh strongly in his favour; especially as in making the one statement in his writings which is not correct he was scrupulously careful to add that he could not obtain a satisfactory demonstration of it.

It must be remembered that Fermat was a mathematician of quite the first rank who had made a special study of the theory of numbers. That subject is in itself one of peculiar interest and elegance, but its conclusions have little practical importance, and since his time it has been discussed by only a few mathematicians, while even of them not many have made it their chief study. This is the explanation of the fact that it took more than a century before some of the simpler results which Fermat had enunciated were proved, and thus it is not surprising that a proof of the theorem which he succeeded in establishing only towards the close of his life should involve great difficulties.

In 1823 Legendre* obtained a proof for the case of n=5n = 5; in 1832 Lejeune Dirichlet† gave one for n=14n = 14, and in 1840 Lamé and Lebesgue‡ gave proofs for n=7n = 7.

The proposition appears to be true universally, and in 1849 Kummer§, by means of ideal primes, proved it to be so for all numbers except those (if any) which satisfy three conditions. It is not known


  • Reprinted in his Théorie des Nombres, Paris, 1830, vol. ii, pp. 361–368: see also pp. 5, 6.

† Crelle’s Journal, 1832, vol. IX, pp. 390–393.

‡ Liouville’s Journal, 1841, vol. v, pp. 195–215, 276–9, 348–9.

§ References to Kummer’s Memoirs are given in Smith’s Report to the British Association on the Theory of Numbers, London, 1860.

whether any number can be found to satisfy these conditions, but it seems unlikely, and it has been shown that there is no number less than 100 which does so. The proof is complicated and difficult, and there can be little doubt is based on considerations unknown to Fermat. I may add that to prove the truth of the proposition when nn is greater than 4, it obviously is sufficient to confine ourselves to cases where nn is a prime, and the first step in Kummer’s demonstration is to show that in such cases one of the numbers xx, yy, zz must be divisible by nn.

Naturally there has been much speculation as to how Fermat arrived at the result. The modern treatment of higher arithmetic is founded on the special notation and processes introduced by Gauss, who pointed out that the theory of discrete magnitude is essentially different from that of continuous magnitude, but until the end of the last century the theory of numbers was treated as a branch of algebra, and such proofs by Fermat as are extant involve nothing more than elementary geometry and algebra, and indeed some of his arguments do not involve any symbols. This has led some writers to think that Fermat used none but elementary algebraic methods. This may be so, but the following remark, which I believe is not generally known, rather points to the opposite conclusion. He had proposed, as a problem to the English mathematicians, to show that there was only one integral solution of the equation x2+2=y3x^2 + 2 = y^3: the solution evidently being x=5x = 5, y=3y = 3. On this he has a note* to the effect that there was no difficulty in finding a solution in rational fractions, but that he had discovered an entirely new method—sane pulcherrima et subtilissima—which enabled him to solve such questions in integers. It was his intention to write a work† on his researches in the theory of numbers, but it was never completed, and we know but little of his methods of analysis. I venture however to add my private suspicion that continued fractions played a not unimportant part in his researches, and as strengthening this conjecture I may note that some of his more recondite results—such as the theorem that a prime of the form 4n+14n + 1 is expressible as the sum of two squares—may be established with comparative ease by properties of such fractions.


  • Fermat’s Diophantus, bk. VI, prop. 19, p. 320; or Brassinne’s Précis, p. 122.
Continue reading
Page 10 of 81