Alena Solcovâ, Michal Krizek FERMAT and MERSENNE

Total Page:16

File Type:pdf, Size:1020Kb

Alena Solcovâ, Michal Krizek FERMAT and MERSENNE DEMONSTRATIO MATHEMATICA Vol. XXXIX No 4 2006 Alena Solcovâ, Michal Krizek FERMAT AND MERSENNE NUMBERS IN PEPIN'S TEST1 Dedicated to Frantisek Katrnoska on his 75th birthday Abstract. We examine Pepin's test for the primality of the Fermât numbers Fm = 2 2 + 1 for m = 0, 1, 2,.... We show that Dm = (Fm — l)/2 — 1 can be used as a base in Pepin's test for m > 1. Some other bases are proposed as well. 1. Introduction — historical notes In 1640 Pierre de Fermât incorrectly conjectured that all the numbers (1.1) Fm = ¿T + 1 for m = 0, 1, 2,... are prime. The numbers Fm are called Fermât numbers after him. If Fm is prime, we say that it is a Fermât prime. The first five members of sequence (1.1) are really primes. However, in 1732 Leonhard Euler found that is composite. In this paper we examine admissible bases for the well-known Pepin's test, which is a sophisticated necessary and sufficient condition for the primality of Fm. It was discovered in 1877 by the French mathematician Jean François Théofile Pepin (1826-1904). He surely would have been surprised by how many mathematicians will have used his test for more than one hundred years until now. For instance, in 1905 J.C. Morehead and independently A.E. Western (see [5], [10]) found by computing the Pepin residue that the 39-digit number Fj is composite without knowing any explicit nontrivial factor. Morehead and Western also manually calculated that Fg with 78 digits is composite (see [6]). Later F\o, F\s, F14, F20, and F22 were found to be composite by Pepin's test and by the use of electronic computers (the associated literature is given in [3]). Moreover, recently the twenty-fourth Key words and phrases: Fermât primes, Mersenne numbers, primitive roots. 1991 Mathematics Subject Classification: 11A07, 11A51. Supported by Institutional Research Plan nr. AV0Z 10190503 and Grant nr. 1P05ME749 of the Ministry of Education of the Czech Republic. 738 A. Solcovâ, M. Krizek Fermât number F24, which has over 5 million decimal digits, was shown to be composite by Pepin's test (see [2]). This was the biggest computation ever done to obtain a simple "yes-or-no" answer. It required approximately 1017 computer operations. The computational complexity of Pepin's test is discussed in [4, p. 322]. Note that J. F. T. Pepin entered to the Jesuit Order in 1846. Therefore, some of his papers were published under the name: le P. Pepin, S. J., which means: Pater Pepin, Societatis Jesu. Although hundreds of factors of the Fermât numbers and many necessary and sufficient conditions for the primality of Fm are known (see, e.g., [3]), no one has yet been able to discover a general principle that would lead to a definitive answer to the question whether F4 is the largest Fermât prime. 2. Preliminaries THEOREM 2.1 (Pepin's test). Let m > 1. Then {Fm l)/2 (2.1) Fm is prime Z ~ = -1 (mod Fm). REMARK 2.2. Pepin, in his original paper of 1877, used the base (seed) 5 for m > 1 rather than the base 3 (see [7]). The base 3 was later suggested in [8] by François Proth (1852-1879). Pepin also noted that the base 10 could be used instead of the base 5 in his test. This fact is generalized in the next lemma. LEMMA 2.3. For any m > 1 and b > 0 we have 2 1 2 (2b)^'^ = ftC*»" )/ (mod Fm). Proof. If m > 0 and b > 0 then 2m+1 2m+1 2m+1 2m 2m b (2 - l) = b (2 - l) (2 + l) = 0 (mod Fm). Hence, m+1 2m+1 (2bf = b (mod Fm). m+1 Since 2 | (Fm - l)/2 for m > 1, the lemma follows. • Let m > 1. According to the Euler-Fermât theorem, (2.1) and Remark 2.2, the Fermât primes 3 and 5 are primitive roots modulo a Fermât prime Fm. Moreover, by Lemma 2.3 the numbers of the sequences 3,6,12, 24,... and 5,10,20,... are admissible bases in Pepin's test and all of them are m+1 primitive roots modulo a Fermât prime Fm. Each sequence contains 2 incongruent terms modulo Fm. Vasilenko in [9] proves that 1)/2 1 (2.2) Fm-i' = (mod Fm) for m > 2. Fermât and Mersenne numbers in Pepin's test 739 His result and the Euler-Fermat theorem assert that Fm-\ is never a primi- tive root modulo a Fermat prime Fm for m > 2. The next lemma generalizes this fact. LEMMA 2.4. Ifm>l then (2.3) F^-V = -1 (mod Fm). Proof. From (1.1) we immediately get Fl_, = (22"1-1 + l)2 = 22m + 1 + 2 • 22"1-1 = 2 • 22"1-1 (mod Fm) for m > 1. Squaring the foregoing congruence implies that EE (2 . 22™-1)2 = 4 • 22" = 4(Fm - 1) = —22 (mod Fm). If m > 1 then 2m"1 > 2 and thus, (2.3) holds: ¿Ci = (-22)2"1-1 = 22™ = -1 (mod Fm). We observe that the exponent 2m+1 on the left-hand side of congruence (2.3) is much smaller than the exponent (Fm — l)/2 in (2.2) for m > 2. Moreover, the right-hand side of (2.3) is equal to —1 as in Pepin's test (2.1). 3. Which Mersenne numbers can stand as a base in Pepin's test? The number Mp = 2P — 1, where p is prime, is called a Mersenne number. If 2P — 1 itself is prime, then it is called a Mersenne prime. Due to Proth [8] we already know that M2 = 3 is a base in Pepin's test (2.1). Aigner in [1] shows that also M3 = 7 can stand as a base in (2.1) for any m > 1. Moreover, Vasilenko in [9] proves the following result. THEOREM 3.1 (Vasilenko). Let p be a prime of the form 4k + 3 and let Mp = 2P — 1 be the associated Mersenne number. Then the Fermat number Fp is prime if and only if M(FP-i)/2 = _i (mod Fp). In Theorem 3.3 below we propose other Mersenne numbers that can stand as a base in Pepin's test. REMARK 3.2. According to [3, p. 42], the base 3 in Pepin's test (2.1) can be replaced by any integer b such that for the Jacobi symbol we have (——) = —1 for all m > 1. In other words, Fm is prime if and only if (3.1) = (mod Fm). In the next theorem we show that for m > 1 the number (3.2) Dm = 22"1-1 - 1 = - 1 740 A. SolcovA, M. Krizek can be a base in (3.1). We observe that some of Dm are Mersenne numbers 3 7 31 127 (primes), e.g., D2 = 2 - 1, D3 = 2 - 1, D5 = 2 - 1, D7 = 2 - 1, 8191 131071 524287 2147483647 D13 = 2 - 1, D17 = 2 - 1, D19 = 2 - 1, £»3! = 2 - 1. THEOREM 3.3. For m > 1 i/ie Fermat number Fm is prime if and only if (3.3) flCFm-D/2 = _! (mod Fm). Proof. By Remark 3.2 it is enough to show that v rm ' First notice that (3.4) = -1 for m > 1. By (1.1) and the binomial theorem we observe that m k 2m k (3.5) Fm = (Fk - lf ~ + 1 = (-l) ~ + 1 = 2 (mod Fk) for all k = 0,1,..., m — 1. Hence, Fm = 2 (mod 3), which implies by (3.2) that (3.6) Dm = 1 (mod 3). Now using the law of quadratic reciprocity, basic properties of the Jacobi symbol (see [3, p. 25]), (3.4), (3.2), and (3.6), we get for m > 1 that (Bul) = (^D^^i^k) = (JL\ K = \FmJ ' \dJ \DJ \Dm) 3^Dm-l (Dm\ (Dm\ /1\ 4. Final results PROPOSITION 4.1. The only Fermat numbers that can stand as a base in Pepin's test for m > 1 are Fq = 3 and F\ = 5. Proof. The case m = 2 follows from (2.1) and Lemma 2.4. So let Fm for m > 2 be given. We show that no Fermat number Fk with 1 < k < m can stand as a base b in Pepin's test (3.1). To see this we use Euler's criterion (see [3, p. 23]) F 1)/2 f"" = (£) (mod Fm). Therefore, by the law of quadratic reciprocit = y and= (3.5 L) (£) = (f) " Theorem 3.3 is extended in the following proposition, which is proved in a rather different way. Fermât and Mersenne numbers in Pepin's test 741 PROPOSITION 4.2. The numbers Dm-2, Dm-l, Dm, Dm + 3, Dm + 4, and Dm + 5 are admissible bases in Pepin's test for m > 1. Proof. From the binomial theorem we have s s b = (Fm-b) (mod Fm) for any b € N and an even integer s > 0. Therefore, b can be a base in Pepin's test if and only if the same holds for Fm — b. Since 3, 5, and 7 are such bases, the same has to be true for the numbers 2(Dm -2)=Fm-7, 2(Dm - 1) = Fm - 5, 2Dm = Fm - 3, 2 (Dm + 3) = Fm + 3, 2 (Dm + 4) = Fm + 5, 2 (Dm + 5) = Fm + 7. Now the rest of the proof follows from Lemma 2.3. • Similarly to the above proof we get that (Dm — l)/2, (Dm + 3)/2, (Dm + 5)/2, and (Dm+5)/4 are admissible bases for Pepin's test for m > 1.
Recommended publications
  • 1 Mersenne Primes and Perfect Numbers
    1 Mersenne Primes and Perfect Numbers Basic idea: try to construct primes of the form an − 1; a, n ≥ 1. e.g., 21 − 1 = 3 but 24 − 1=3· 5 23 − 1=7 25 − 1=31 26 − 1=63=32 · 7 27 − 1 = 127 211 − 1 = 2047 = (23)(89) 213 − 1 = 8191 Lemma: xn − 1=(x − 1)(xn−1 + xn−2 + ···+ x +1) Corollary:(x − 1)|(xn − 1) So for an − 1tobeprime,weneeda =2. Moreover, if n = md, we can apply the lemma with x = ad.Then (ad − 1)|(an − 1) So we get the following Lemma If an − 1 is a prime, then a =2andn is prime. Definition:AMersenne prime is a prime of the form q =2p − 1,pprime. Question: are they infinitely many Mersenne primes? Best known: The 37th Mersenne prime q is associated to p = 3021377, and this was done in 1998. One expects that p = 6972593 will give the next Mersenne prime; this is close to being proved, but not all the details have been checked. Definition: A positive integer n is perfect iff it equals the sum of all its (positive) divisors <n. Definition: σ(n)= d|n d (divisor function) So u is perfect if n = σ(u) − n, i.e. if σ(u)=2n. Well known example: n =6=1+2+3 Properties of σ: 1. σ(1) = 1 1 2. n is a prime iff σ(n)=n +1 p σ pj p ··· pj pj+1−1 3. If is a prime, ( )=1+ + + = p−1 4. (Exercise) If (n1,n2)=1thenσ(n1)σ(n2)=σ(n1n2) “multiplicativity”.
    [Show full text]
  • Mersenne and Fermat Numbers 2, 3, 5, 7, 13, 17, 19, 31
    MERSENNE AND FERMAT NUMBERS RAPHAEL M. ROBINSON 1. Mersenne numbers. The Mersenne numbers are of the form 2n — 1. As a result of the computation described below, it can now be stated that the first seventeen primes of this form correspond to the following values of ra: 2, 3, 5, 7, 13, 17, 19, 31, 61, 89, 107, 127, 521, 607, 1279, 2203, 2281. The first seventeen even perfect numbers are therefore obtained by substituting these values of ra in the expression 2n_1(2n —1). The first twelve of the Mersenne primes have been known since 1914; the twelfth, 2127—1, was indeed found by Lucas as early as 1876, and for the next seventy-five years was the largest known prime. More details on the history of the Mersenne numbers may be found in Archibald [l]; see also Kraitchik [4]. The next five Mersenne primes were found in 1952; they are at present the five largest known primes of any form. They were announced in Lehmer [7] and discussed by Uhler [13]. It is clear that 2" —1 can be factored algebraically if ra is composite; hence 2n —1 cannot be prime unless w is prime. Fermat's theorem yields a factor of 2n —1 only when ra + 1 is prime, and hence does not determine any additional cases in which 2"-1 is known to be com- posite. On the other hand, it follows from Euler's criterion that if ra = 0, 3 (mod 4) and 2ra + l is prime, then 2ra + l is a factor of 2n— 1.
    [Show full text]
  • Primes and Primality Testing
    Primes and Primality Testing A Technological/Historical Perspective Jennifer Ellis Department of Mathematics and Computer Science What is a prime number? A number p greater than one is prime if and only if the only divisors of p are 1 and p. Examples: 2, 3, 5, and 7 A few larger examples: 71887 524287 65537 2127 1 Primality Testing: Origins Eratosthenes: Developed “sieve” method 276-194 B.C. Nicknamed Beta – “second place” in many different academic disciplines Also made contributions to www-history.mcs.st- geometry, approximation of andrews.ac.uk/PictDisplay/Eratosthenes.html the Earth’s circumference Sieve of Eratosthenes 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 Sieve of Eratosthenes We only need to “sieve” the multiples of numbers less than 10. Why? (10)(10)=100 (p)(q)<=100 Consider pq where p>10. Then for pq <=100, q must be less than 10. By sieving all the multiples of numbers less than 10 (here, multiples of q), we have removed all composite numbers less than 100.
    [Show full text]
  • Arxiv:1412.5226V1 [Math.NT] 16 Dec 2014 Hoe 11
    q-PSEUDOPRIMALITY: A NATURAL GENERALIZATION OF STRONG PSEUDOPRIMALITY JOHN H. CASTILLO, GILBERTO GARC´IA-PULGAR´IN, AND JUAN MIGUEL VELASQUEZ-SOTO´ Abstract. In this work we present a natural generalization of strong pseudoprime to base b, which we have called q-pseudoprime to base b. It allows us to present another way to define a Midy’s number to base b (overpseudoprime to base b). Besides, we count the bases b such that N is a q-probable prime base b and those ones such that N is a Midy’s number to base b. Furthemore, we prove that there is not a concept analogous to Carmichael numbers to q-probable prime to base b as with the concept of strong pseudoprimes to base b. 1. Introduction Recently, Grau et al. [7] gave a generalization of Pocklignton’s Theorem (also known as Proth’s Theorem) and Miller-Rabin primality test, it takes as reference some works of Berrizbeitia, [1, 2], where it is presented an extension to the concept of strong pseudoprime, called ω-primes. As Grau et al. said it is right, but its application is not too good because it is needed m-th primitive roots of unity, see [7, 12]. In [7], it is defined when an integer N is a p-strong probable prime base a, for p a prime divisor of N −1 and gcd(a, N) = 1. In a reading of that paper, we discovered that if a number N is a p-strong probable prime to base 2 for each p prime divisor of N − 1, it is actually a Midy’s number or a overpseu- doprime number to base 2.
    [Show full text]
  • A FEW FACTS REGARDING NUMBER THEORY Contents 1
    A FEW FACTS REGARDING NUMBER THEORY LARRY SUSANKA Contents 1. Notation 2 2. Well Ordering and Induction 3 3. Intervals of Integers 4 4. Greatest Common Divisor and Least Common Multiple 5 5. A Theorem of Lam´e 8 6. Linear Diophantine Equations 9 7. Prime Factorization 10 8. Intn, mod n Arithmetic and Fermat's Little Theorem 11 9. The Chinese Remainder Theorem 13 10. RelP rimen, Euler's Theorem and Gauss' Theorem 14 11. Lagrange's Theorem and Primitive Roots 17 12. Wilson's Theorem 19 13. Polynomial Congruencies: Reduction to Simpler Form 20 14. Polynomial Congruencies: Solutions 23 15. The Quadratic Formula 27 16. Square Roots for Prime Power Moduli 28 17. Euler's Criterion and the Legendre Symbol 31 18. A Lemma of Gauss 33 −1 2 19. p and p 36 20. The Law of Quadratic Reciprocity 37 21. The Jacobi Symbol and its Reciprocity Law 39 22. The Tonelli-Shanks Algorithm for Producing Square Roots 42 23. Public Key Encryption 44 24. An Example of Encryption 47 References 50 Index 51 Date: October 13, 2018. 1 2 LARRY SUSANKA 1. Notation. To get started, we assume given the set of integers Z, sometimes denoted f :::; −2; −1; 0; 1; 2;::: g: We assume that the reader knows about the operations of addition and multiplication on integers and their basic properties, and also the usual order relation on these integers. In particular, the operations of addition and multiplication are commuta- tive and associative, there is the distributive property of multiplication over addition, and mn = 0 implies one (at least) of m or n is 0.
    [Show full text]
  • Appendix a Tables of Fermat Numbers and Their Prime Factors
    Appendix A Tables of Fermat Numbers and Their Prime Factors The problem of distinguishing prime numbers from composite numbers and of resolving the latter into their prime factors is known to be one of the most important and useful in arithmetic. Carl Friedrich Gauss Disquisitiones arithmeticae, Sec. 329 Fermat Numbers Fo =3, FI =5, F2 =17, F3 =257, F4 =65537, F5 =4294967297, F6 =18446744073709551617, F7 =340282366920938463463374607431768211457, Fs =115792089237316195423570985008687907853 269984665640564039457584007913129639937, Fg =134078079299425970995740249982058461274 793658205923933777235614437217640300735 469768018742981669034276900318581864860 50853753882811946569946433649006084097, FlO =179769313486231590772930519078902473361 797697894230657273430081157732675805500 963132708477322407536021120113879871393 357658789768814416622492847430639474124 377767893424865485276302219601246094119 453082952085005768838150682342462881473 913110540827237163350510684586298239947 245938479716304835356329624224137217. The only known Fermat primes are Fo, ... , F4 • 208 17 lectures on Fermat numbers Completely Factored Composite Fermat Numbers m prime factor year discoverer 5 641 1732 Euler 5 6700417 1732 Euler 6 274177 1855 Clausen 6 67280421310721* 1855 Clausen 7 59649589127497217 1970 Morrison, Brillhart 7 5704689200685129054721 1970 Morrison, Brillhart 8 1238926361552897 1980 Brent, Pollard 8 p**62 1980 Brent, Pollard 9 2424833 1903 Western 9 P49 1990 Lenstra, Lenstra, Jr., Manasse, Pollard 9 p***99 1990 Lenstra, Lenstra, Jr., Manasse, Pollard
    [Show full text]
  • Some New Results on Odd Perfect Numbers
    Pacific Journal of Mathematics SOME NEW RESULTS ON ODD PERFECT NUMBERS G. G. DANDAPAT,JOHN L. HUNSUCKER AND CARL POMERANCE Vol. 57, No. 2 February 1975 PACIFIC JOURNAL OF MATHEMATICS Vol. 57, No. 2, 1975 SOME NEW RESULTS ON ODD PERFECT NUMBERS G. G. DANDAPAT, J. L. HUNSUCKER AND CARL POMERANCE If ra is a multiply perfect number (σ(m) = tm for some integer ί), we ask if there is a prime p with m = pan, (pa, n) = 1, σ(n) = pα, and σ(pa) = tn. We prove that the only multiply perfect numbers with this property are the even perfect numbers and 672. Hence we settle a problem raised by Suryanarayana who asked if odd perfect numbers neces- sarily had such a prime factor. The methods of the proof allow us also to say something about odd solutions to the equation σ(σ(n)) ~ 2n. 1* Introduction* In this paper we answer a question on odd perfect numbers posed by Suryanarayana [17]. It is known that if m is an odd perfect number, then m = pak2 where p is a prime, p Jf k, and p = a z= 1 (mod 4). Suryanarayana asked if it necessarily followed that (1) σ(k2) = pa , σ(pa) = 2k2 . Here, σ is the sum of the divisors function. We answer this question in the negative by showing that no odd perfect number satisfies (1). We actually consider a more general question. If m is multiply perfect (σ(m) = tm for some integer t), we say m has property S if there is a prime p with m = pan, (pa, n) = 1, and the equations (2) σ(n) = pa , σ(pa) = tn hold.
    [Show full text]
  • The Simple Mersenne Conjecture
    The Simple Mersenne Conjecture Pingyuan Zhou E-mail:[email protected] Abstract p In this paper we conjecture that there is no Mersenne number Mp = 2 –1 to be prime k for p = 2 ±1,±3 when k > 7, where p is positive integer and k is natural number. It is called the simple Mersenne conjecture and holds till p ≤ 30402457 from status of this conjecture. If the conjecture is true then there are no more double Mersenne primes besides known double Mersenne primes MM2, MM3, MM5, MM7. Keywords: Mersenne prime; double Mersenne prime; new Mersenne conjecture; strong law of small numbers; simple Mersenne conjecture. 2010 Mathematics Subject Classification: 11A41, 11A51 1 p How did Mersenne form his list p = 2,3,5,7,13,17,19,31,67,127,257 to make 2 –1 become primes ( original Mersenne conjecture ) and why did the list have five errors ( 67 and 257 were wrong but 61,89,107 did not appear here )? Some of mathematicians have studied this problem carefully[1]. From verification results of new Mersenne conjecture we see three conditions in the conjecture all hold only for p = 3,5,7,13,17,19,31,61,127 though new Mersenne conjecture has been verified to be true for all primes p < 20000000[2,3]. If we only consider Mersenne primes and p is p k positive integer then we will discovery there is at least one prime 2 –1 for p = 2 ±1,±3 when k ≤ 7 ( k is natural number 0,1,2,3,…), however, such connections will disappear completely from known Mersenne primes when k > 7.
    [Show full text]
  • A Clasification of Known Root Prime-Generating
    Two exciting classes of odd composites defined by a relation between their prime factors Marius Coman Bucuresti, Romania email: [email protected] Abstract. In this paper I will define two interesting classes of odd composites often met (by the author of this paper) in the study of Fermat pseudoprimes, which might also have applications in the study of big semiprimes or in other fields. This two classes of composites n = p(1)*...*p(k), where p(1), ..., p(k) are the prime factors of n are defined in the following way: p(j) – p(i) + 1 is a prime or a power of a prime, respectively p(i) + p(j) – 1 is a prime or a power of prime for any p(i), p(j) prime factors of n such that p(1) ≤ p(i) < p(j) ≤ p(k). Definition 1: We name the odd composites n = p(1)*...*p(k), where p(1), ..., p(k) are the prime factors of n, with the property that p(j) – p(i) + 1 is a prime or a power of a prime for any p(i), p(j) prime factors of n such that p(1) ≤ p(i) < p(j) ≤ p(k), Coman composites of the first kind. If n = p*q is a squarefree semiprime, p < q, with the property that q – p + 1 is a prime or a power of a prime, then n it will be a Coman semiprime of the first kind. Examples: : 2047 = 23*89 is a Coman semiprime of the first kind because 89 – 23 + 1 = 67, a prime; : 4681 = 31*151 is a Coman semiprime of the first kind because 151 – 31 + 1 = 121, a power of a prime; : 1729 = 7*13*19 is a Coman composite of the first kind because 19 – 7 + 1 = 13, a prime, 19 – 13 + 1 = 7, a prime, and 13 – 7 + 1 = 7, a prime.
    [Show full text]
  • Overpseudoprimes, Mersenne Numbers and Wieferich Primes 2
    OVERPSEUDOPRIMES, MERSENNE NUMBERS AND WIEFERICH PRIMES VLADIMIR SHEVELEV Abstract. We introduce a new class of pseudoprimes - so-called “overpseu- doprimes” which is a special subclass of super-Poulet pseudoprimes. De- noting via h(n) the multiplicative order of 2 modulo n, we show that odd number n is overpseudoprime if and only if the value of h(n) is invariant of all divisors d > 1 of n. In particular, we prove that all composite Mersenne numbers 2p − 1, where p is prime, and squares of Wieferich primes are overpseudoprimes. 1. Introduction n Sometimes the numbers Mn =2 − 1, n =1, 2,..., are called Mersenne numbers, although this name is usually reserved for numbers of the form p (1) Mp =2 − 1 where p is prime. In our paper we use the latter name. In this form numbers Mp at the first time were studied by Marin Mersenne (1588-1648) at least in 1644 (see in [1, p.9] and a large bibliography there). We start with the following simple observation. Let n be odd and h(n) denote the multiplicative order of 2 modulo n. arXiv:0806.3412v9 [math.NT] 15 Mar 2012 Theorem 1. Odd d> 1 is a divisor of Mp if and only if h(d)= p. Proof. If d > 1 is a divisor of 2p − 1, then h(d) divides prime p. But h(d) > 1. Thus, h(d)= p. The converse statement is evident. Remark 1. This observation for prime divisors of Mp belongs to Max Alek- seyev ( see his comment to sequence A122094 in [5]).
    [Show full text]
  • Phatak Primality Test (PPT)
    PPT : New Low Complexity Deterministic Primality Tests Leveraging Explicit and Implicit Non-Residues A Set of Three Companion Manuscripts PART/Article 1 : Introducing Three Main New Primality Conjectures: Phatak’s Baseline Primality (PBP) Conjecture , and its extensions to Phatak’s Generalized Primality Conjecture (PGPC) , and Furthermost Generalized Primality Conjecture (FGPC) , and New Fast Primailty Testing Algorithms Based on the Conjectures and other results. PART/Article 2 : Substantial Experimental Data and Evidence1 PART/Article 3 : Analytic Proofs of Baseline Primality Conjecture for Special Cases Dhananjay Phatak ([email protected]) and Alan T. Sherman2 and Steven D. Houston and Andrew Henry (CSEE Dept. UMBC, 1000 Hilltop Circle, Baltimore, MD 21250, U.S.A.) 1 No counter example has been found 2 Phatak and Sherman are affiliated with the UMBC Cyber Defense Laboratory (CDL) directed by Prof. Alan T. Sherman Overall Document (set of 3 articles) – page 1 First identification of the Baseline Primality Conjecture @ ≈ 15th March 2018 First identification of the Generalized Primality Conjecture @ ≈ 10th June 2019 Last document revision date (time-stamp) = August 19, 2019 Color convention used in (the PDF version) of this document : All clickable hyper-links to external web-sites are brown : For example : G. E. Pinch’s excellent data-site that lists of all Carmichael numbers <10(18) . clickable hyper-links to references cited appear in magenta. Ex : G.E. Pinch’s web-site mentioned above is also accessible via reference [1] All other jumps within the document appear in darkish-green color. These include Links to : Equations by the number : For example, the expression for BCC is specified in Equation (11); Links to Tables, Figures, and Sections or other arbitrary hyper-targets.
    [Show full text]
  • Quadratic Frobenius Probable Prime Tests Costing Two Selfridges
    Quadratic Frobenius probable prime tests costing two selfridges Paul Underwood June 6, 2017 Abstract By an elementary observation about the computation of the difference of squares for large in- tegers, deterministic quadratic Frobenius probable prime tests are given with running times of approximately 2 selfridges. 1 Introduction Much has been written about Fermat probable prime (PRP) tests [1, 2, 3], Lucas PRP tests [4, 5], Frobenius PRP tests [6, 7, 8, 9, 10, 11, 12] and combinations of these [13, 14, 15]. These tests provide a probabilistic answer to the question: “Is this integer prime?” Although an affirmative answer is not 100% certain, it is answered fast and reliable enough for “industrial” use [16]. For speed, these various PRP tests are usually preceded by factoring methods such as sieving and trial division. The speed of the PRP tests depends on how quickly multiplication and modular reduction can be computed during exponentiation. Techniques such as Karatsuba’s algorithm [17, section 9.5.1], Toom-Cook multiplication, Fourier Transform algorithms [17, section 9.5.2] and Montgomery expo- nentiation [17, section 9.2.1] play their roles for different integer sizes. The sizes of the bases used are also critical. Oliver Atkin introduced the concept of a “Selfridge Unit” [18], approximately equal to the running time of a Fermat PRP test, which is called a selfridge in this paper. The Baillie-PSW test costs 1+3 selfridges, the use of which is very efficient when processing a candidate prime list. There is no known Baillie-PSW pseudoprime but Greene and Chen give a way to construct some similar counterexam- ples [19].
    [Show full text]