Mathematical Recreations and Essays
Of the 25 cases in which we know that Mersenne's statement of the composite character of is correct all save 3 can be easily verified by trial in this way. For neglecting all values of not exceeding, say,
Legendre, Théorie des Nombres, third edition, Paris, 1830, vol. 1, § 143. In the case of Mersenne's numbers, .
For methods of finding the residue indices of 2 see Bickmore, Messenger of Mathematics, May, 1895, vol. xxv, pp. 15–21; see also Lieut-Colonel A.J.C. Cunningham on 2 as a 16-ic residue, Proceedings of the London Mathematical Society, 1895–6, vol. xxvii, pp. 85–122.
Transactions of the British Association for the Advancement of Science (Ipswich Meeting), 1895, p. 614.
60 which make either composite or not of one of the forms we have in each case only some 20 or so divisors to try. Of the 3 other cases in which Mersenne’s statement of the composite character of has been verified, one verification () is due to Plana, who frankly confessed that the result was reached “par un heureux hasard”; a second is due to Landry (), who did not explain how he obtained the factors; and the third is due to Cole (), who established it by the use of quadratic residues of , involving laborious numerical work.
Of the 10 cases in which we know that Mersenne’s statement of the prime character of is correct all save one may be verified by trial in this way, for the number of possible factors is not large. The exception is the case where equals 61, which Seelhoff and others have shown to be prime.
Thus practically we may say that simple empirical trials would at once lead us to all the conclusions known except in the case of due to Plana, of due to Landry, of due to Seelhoff, and of due to Cole. In fact, save for these four results the conclusions of all mathematicians to date could be obtained by anyone by a few hours’ arithmetical work.
As increases the number of factors to be tried increases so fast that, if is large, it would be practically impossible to apply the test to obtain large factors. This is an important point, for it has been asserted that in the cases still awaiting verification there are no factors less than 50,000. Hence, we may take it as reasonably certain that this cannot have been the method by which the result was originally obtained; nor, as here enunciated, is it likely to give many factors not yet known. Of course it is possible there may be ways by which the number of possible values of might be further limited, and if we could find them we might thus diminish the number of possible factors to be tried, but it will be observed that the values of which still await verification are very large, for instance, when , contains no less than 78 digits.
It is hardly necessary to add that if is known and is not very large we can determine whether or not it is a factor of without the labour of performing the division.
For instance, if we want to verify that is a factor of when , we proceed thus. Take the power of 2 nearest to or to
its square-root. We have to the modulus
Second. We can proceed by reducing the problem to the solution of an indeterminate equation.
It is clear that we can obtain a factor of if we can express it as the difference of the squares, or more generally of the th powers, of two integers and . Further, if we can express a multiple of , say , in this form, we can find a factor of and (with certain obvious limitations as to the value of ) this will lead to a factor of . It may be also added that if can be found so that is expressible as a continued fraction of a certain form, a certain continuant* defined by the form of the continued fraction is a factor of .
Since can always be expressed as the difference of two squares, this method seems a natural one by which to attack the problem. If we put
we can make use of the known forms of and , and thus obtain an indeterminate equation between two variables and of the form
where and are numbers which can be easily calculated. Integral values of and where will determine values of and , and thus give factors of .
We can also attack the problem by indeterminate equations in an-
* See J.G. Birch in the Messenger of Mathematics, August, 1902, vol. XXII, pp. 52–55.
other way. For the factors must be of the form and , hence
Hence
where and is odd. These results again lead to an indeterminate equation.
But, in both cases, unless is small, the resulting equations are intractable.
Third. A not uncommon method of attacking problems such as this, dealing with the factorization of large numbers, is through the theory of quadratic forms. At best this is a difficult method to use, and we have no reason to think that it would have been employed by a mathematician of the seventeenth century. I here content myself with alluding to it.
Fourth. There is yet another way in which the problem might be attacked. The problem will be solved if we can find an odd prime so that to it as modulus , and , where and may have any values we like to choose. If such values of , , and can be found, we have . Therefore , that is, is a divisor of .
For example, to the modulus 23, we have
Also
Therefore
Without going further into the matter we may say that the à priori determination of the values , , and introduces us to an almost
For a sketch of this see G.B. Mathews, Theory of Numbers, part 1, Cambridge, 1891, pp. 261-271. See also F.N. Cole's paper, On the Factoring of Large Numbers, Bulletin of the American Mathematical Society, December, 1903, pp. 134-137; and Quadratic Partitions by A.J.C. Cunningham, London, 1904.
untrodden field. It is just possible (though I should suppose unlikely) that the key to the riddle is to be found on methods of finding , , , to satisfy the above conditions. For instance, if we could say what was the remainder when was divided by a prime of the form , and if the remainders were the same when and , then to the modulus we should have, , and therefore .
It should however be noted that Jacobi’s Canon Arithmeticus and the similar canon drawn up by Cunningham would, if carried far enough, enable us to solve the problem by this method. Cunningham’s Canon gives the solution of the congruence for all prime moduli less than 1000, but it is of no use in determining factors of larger than 1000. It is however possible that if or have certain forms such a canon might be constructed, and thus lead to a solution of the problem.
Fifth. It is noteworthy that the odd values of specified by Mersenne are primes of one of the four forms or , but it is not the case that all primes of these forms make a prime, for instance, is composite if or if .
This fact has suggested to more than one mathematician the possibility that some test as to the prime or composite character of when is of one of these forms may be discoverable. Of course this is merely a conjecture. There is however this to say for it, that we know that Fermat* had paid attention to numbers of this form.
Sixth. The number when expressed in the binary scale, consists of 1 repeated times. This has suggested whether the work connected with the determination of factors of might not with advantage be expressed in the binary scale. A method based on the use of properties of this scale has been indicated by G. de Longchamps†, but as there given it would be unlikely to lead to the discovery of large divisors. I am, however, inclined to think that greater advantages would be gained by working in a scale whose radix was or may-be -the resulting numbers being then expressed by a reasonably small number of digits. In fact when expressed in the latter scale in only one out of the 25 cases in which the factors of are known does the smallest factor contain more than two digits.
- Ex. gr., see above, page 31.
† Comptes rendus de l’Académie des Sciences, Paris, Nov. 1877, vol. LXXXV, pp. 950–952.
Seventh. I have reserved to the last the description of the method which seems to me to be the most hopeful.
We know by Fermat’s Theorem that if is a prime then is divisible by . Hence if is a prime we have, to the modulus
Hence, a divisor of will be known, if we can find a value of such that is prime and the second factor is prime to it.
This method may be used to establish Euler’s theorem of 1732. For if we put , and if is a prime, we have, to the modulus
Hence if is prime to . This is the case if . Hence is a factor of if , 23, 83, 131, 179, 191, 239, and 251, for in these cases is prime.
The problem of Mersenne’s Numbers is a particular case of the determination of the factors of . This has been the subject of investigations by many mathematicians: an outline of their conclusions has been given by Bickmore*. I ought also to add a reference to the general method suggested by F.W. Lawrence† for the factorization of any high number: it is possible that Fermat used some method analogous to this.