A generalised Lucasian primality test

From MaRDI portal





The Lucasian sequence with seed \(w_0\) is the sequence defined from a given initial value, or seed, \(w_0\) by the recurrence \(w_{j+1}==w_j^2-2\), \(j \geq 0\), and a Lucasian primality test is a primality test based on a Lucasian sequence. Lucasian primality tests are known for numbers of the form \(M_{h,n}^\pm =h.2^n\pm 1\), \(h<2^n\), the most famous being the Lucas-Lehmer test: if \(n\) is an odd prime then \(M=M_{1,n}^-=2^n-1\) is prime iff \(w_{n-2} \equiv 0 \bmod M\), where \(\{w_j\}\) is the Lucasian sequence with seed 4. In contrast with the Lucas-Lehmer test, the seed for a Lucasian test of \(M_{h,n}^\pm\) may, a priori, depend on \(n\) as well as \(h\). It is evidently desirable that seeds should depend on \(h\) alone. Studies in this direction were initiated by [\textit{H. Riesel}, ``Lucasian criteria for the primality of \(N = h\cdot 2^n-1\), Math. Comput. 23, 869--875 (1969; Zbl 0186.07803)] and continued by [\textit{W. Bosma}, ``Explicit primality criteria for \(h\cdot 2^ k \pm 1\), Math. Comput. 61, No. 203, 97--109; Supplement S7--S9 (1993; Zbl 0817.11060)]. In this paper the primality tests are not explicitly Lucasian, but are equivalent to Lucasian tests as follows from the paper of Berrizbeitia and Berry cited below). It was shown that if \(h \not \equiv 0 \bmod 3\) then there there is a unique seed. Bosma showed that if \(h \equiv 0 \bmod 3\) but \(h\neq 4^m-1\) then in many cases the seed could be found in an explicitly given finite set, while if \(h=4^m-1\) no finite set of seeds suffices. In [\textit{P. Berrizbeitia} and \textit{T. G. Berry}, ``Biquadratic reciprocity and a Lucasian primality test, Math. Comput. 73, No. 247, 1559--1564 (2004; Zbl 1090.11004)] it is shown that a slightly modified Lucasian test, derived using biquadratic reciprocity, has a seed independent of \(n\) provided that \(h \not \equiv 0 \bmod 5\). Thus there is a Lucasian test for \(M_{h,n}^\pm\) with seed independent of \(n\) provided \(h \not \equiv 0 \bmod 15\). In the paper under review the authors study the case \(h \equiv 0 \bmod 15\). They first give a more general version of the Berrizbeitia-Berry test, which they call the biquadratic test. Suppose \(h<2^{n-2}-1\). Let \(q\) be a prime \(\equiv 1 \bmod 4\) and let \(\pi=\pi_q \in \mathbb Z[i]\) be a primary prime of norm \(q\); then the biquadratic test is a Lucasian test for primality of \(M_{h,n}^\pm \), with seed depending on \(\pi\), hence on \(q\), applicable whenever \(({M^*\over \pi})_4 \neq 1\), where the bracket is the biquadradic power residue symbol. If \(({M^*\over \pi})_4 \neq 1\) then \(q\) is called a judge of \(M_{h,n}^\pm\). (Here \(M^*=(\frac{-1}{M})\), a device which allows the cases \(M_{h,n}^+\) and \(M_{h,n}^-\) to be treated simultaneously.) Experimental material on the existence of judges is given. The principal result is the explicit description of a set of 48 primes such that, for all odd \(h=15t<10^8\) and all \(n<7\cdot 3\cdot 10^{11}\), any \(M_{h,n}^\pm\) has a judge in the set. A comparison with Bosma's approach is given.











This page was built for publication: A generalised Lucasian primality test

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q3417673)