×

Explicit primality criteria for \(h \cdot 2^n \pm 1\). (English. French summary) Zbl 1364.11014

É. Lucas, in the XIX century, proposed efficient deterministic primality tests for the two families of numbers \(h2^n+1\) and \(h2^n-1\). These Lucasian tests are given in term of recurrence sequences of integer numbers \(\{u_n\}\), which depends on a recurrence equation and an initial value, the seed, see [H. C. Williams, Édouard Lucas and primality testing. New York, NY: John Wiley & Sons (1998; Zbl 1155.11363)].
The Lucas-Lehmer test, for the Mersenne numbers \(M_p=2^p-1\), takes as seed \(u_0=4\) (a constant). W. Bosma [Math. Comp. 61, No. 203, 97–109 (1993; Zbl 0817.11060)] gave two tests for those two families when \(h\not \equiv 0 \bmod 3\), using in both cases a seed depending only on \(h\) and not on \(n\) and P. Berrizbeitia and T. G. Berry [Math. Comput. 73, No. 247, 1559–1564 (2004; Zbl 1090.11004)] provide a test common to the two families which, assuming \(h\not \equiv 0 \bmod 5\), uses a seed depending only on \(h\).
The aim of the present paper is to give a similar result when \(h\not \equiv 0 \bmod 17\). The paper introduces the notion of a generalized Lucasian sequence \(\{(T_k^1, \dots ,T_k^f)\}\), defined from a given initial value (the seed) \(\{(T_0^1, \ldots,T_0^f)\}\). The primality test (Theorem 3.1, stated in Section 3 and proved in Section 4) treated the two cases \(h2^n\pm 1\) simultaneously and need two generalized Lucasian sequences and, for \(h\not \equiv 0 \bmod 17\) fixed, two seeds (independents of \(n\)). The paper argues that “our generalized Lucasian primality test improves the results of Berrizbeitia and Berry and Bosma”, since for instance when \(h=15\) those tests need infinitely many seeds.
Section 5 studies the computational complexity of the primality test of Theorem 3.1 , proving that for \(M=h2^n\pm 1\) this complexity is \(\tilde O(log^2M)\) bit operations. The paper concludes with an open problem concerning the possibility, for arbitrary \(h\) of a generalized Lucasian primality test for the families \(h2^n\pm 1\) with finitely many seeds depending only on \(h\).

MSC:

11A51 Factorization; primality
11A15 Power residues, reciprocity
11Y11 Primality

References:

[1] B. C. Berndt, R. J. Evans & K. S. Williams, Gauss and Jacobi sums, Canadian Mathematical Society Series of Monographs and Advanced Texts, John Wiley & Sons, Inc., New York, 1998, A Wiley-Interscience Publication, xii+583 pages. · Zbl 0906.11001
[2] P. Berrizbeitia & T. G. Berry, « Biquadratic reciprocity and a Lucasian primality test », Math. Comp.73 (2004), no. 247, p. 1559-1564 (electronic). · Zbl 1090.11004
[3] W. Bosma, « Explicit primality criteria for \(h\cdot 2^k\pm 1\) », Math. Comp.61 (1993), no. 203, p. 97-109, S7-S9. · Zbl 0817.11060
[4] K. Ireland & M. Rosen, A classical introduction to modern number theory, second ed., Graduate Texts in Mathematics, vol. 84, Springer-Verlag, New York, 1990, xiv+389 pages. · Zbl 0712.11001
[5] D. H. Lehmer, « On Lucas’s Test for the Primality of Mersenne’s Numbers », J. London Math. Soc.10 (1935), no. 3, p. 162-165. · JFM 61.0133.02
[6] E. Lucas, « Théorie des Fonctions Numériques Simplement Périodiques. [Continued] », Amer. J. Math.1 (1878), no. 2, 3 and 4, p. 184-196, 197-240 and 289-321. · JFM 10.0134.05
[7] A. Schönhage & V. Strassen, « Schnelle Multiplikation grosser Zahlen », Computing (Arch. Elektron. Rechnen)7 (1971), p. 281-292. · Zbl 0223.68007
[8] L. C. Washington, Introduction to cyclotomic fields, second ed., Graduate Texts in Mathematics, vol. 83, Springer-Verlag, New York, 1997, xiv+487 pages. · Zbl 0966.11047
This reference list is based on information provided by the publisher or from digital mathematics libraries. Its items are heuristically matched to zbMATH identifiers and may contain data conversion errors. In some cases that data have been complemented/enhanced by data from zbMATH Open. This attempts to reflect the references listed in the original paper as accurately as possible without claiming completeness or a perfect matching.