ABSOLUTE QUADRATIC PSEUDOPRIMES
RICHARD G.E. PINCH
Abstract. We describe some primality tests based on quadratic rings and discuss the absolute pseudoprimes for these tests.
1. Introduction We describe some primality tests based on quadratic rings and discuss the abso- lute pseudoprimes for these tests.
2. Primality tests We briefly recall some standard probabilistic primality tests. We assume through- out that N is the integer under test, and that N is already known to be odd and not a perfect power. The Fermat criterion with base b is the condition bN−1 ≡ 1 mod N. We shall usually distinguish between a criterion or condition, which is a necessary condition for primality, and a test, which specifies the details of the application of that cri- terion. For example, we would expect a Fermat test to include a preliminary trial division (at least as far as 2), possibly a test to eliminate perfect powers, and to specify a method (deterministic or random) for selecting the base b.A (Fermat) probable prime base b is a number N which passes this test: a (Fermat) pseudoprime is a composite number which passes. An absolute (Fermat) pseudoprime is a com- posite number which satisfies the Fermat criterion for every base b with (b, n) = 1. It is well-known that these are just the Carmichael numbers: N is a Carmichael number iff N is square-free with at least three prime factors and p − 1|N − 1 for every prime p dividing N. For background on Carmichael numbers and details of previous computations we refer to our previous paper [24]: in that paper we described the computation of the Carmichael numbers up to 1015 and presented some statistics. These computations have since been extended [26] to 1016, using the same techniques. We can refine this to the Fermat–Euler criterion by requiring that b(N−1)/2 ≡ ±1 mod N, and again by identifying the sign to form the Euler–Jacobi criterion (N−1)/2 b b b ≡ N mod N, where N is the Jacobi symbol. This latter is the primal- ity criterion of Solovay–Strassen [31],[32]. Proposition 2.1. (1) If N is an absolute pseudoprime for the Fermat–Euler criterion we have b(N−1)/2 ≡ +1 mod N for all b prime to N. (2) There are no absolute pseudoprimes for the Euler–Jacobi criterion. Proof. For the first part, suppose that p and q are distinct prime factors of N. Given b prime to N, write b = b1b2 where b1 ≡ b mod p and ≡ 1 mod q; so we have b2 ≡ (N−1)/2 1 mod p and ≡ b mod q. The assumption on N implies that bi ≡ ±1 mod N (N−1)/2 for i = 1, 2, but in each case the sign must be +1 considering b1 mod q and (N−1)/2 (N−1)/2 (N−1)/2 b2 mod p. So b = (b1b2) ≡ 1 mod N.
Date: 14 August 2006. 1991 Mathematics Subject Classification. Primary 11Y99; Secondary 11A51,11Y11. 1 2 RICHARD G.E. PINCH