{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,29]],"date-time":"2026-05-29T15:42:36Z","timestamp":1780069356582,"version":"3.54.0"},"reference-count":21,"publisher":"Springer Science and Business Media LLC","issue":"5","license":[{"start":{"date-parts":[[2024,1,18]],"date-time":"2024-01-18T00:00:00Z","timestamp":1705536000000},"content-version":"tdm","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"},{"start":{"date-parts":[[2024,1,18]],"date-time":"2024-01-18T00:00:00Z","timestamp":1705536000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0"}],"funder":[{"DOI":"10.13039\/501100002347","name":"Bundesministerium f\u00fcr Bildung und Forschung","doi-asserted-by":"publisher","award":["16KISK025"],"award-info":[{"award-number":["16KISK025"]}],"id":[{"id":"10.13039\/501100002347","id-type":"DOI","asserted-by":"publisher"}]},{"DOI":"10.13039\/501100007537","name":"Freie Universit\u00e4t Berlin","doi-asserted-by":"crossref","id":[{"id":"10.13039\/501100007537","id-type":"DOI","asserted-by":"crossref"}]}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Des. Codes Cryptogr."],"published-print":{"date-parts":[[2024,5]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>Reliable probabilistic primality tests are fundamental in public-key cryptography. In adversarial scenarios, a composite with a high probability of passing a specific primality test could be chosen. In such cases, we need worst-case error estimates of the test. However, in many scenarios, the numbers are randomly chosen and thus have a significantly smaller error probability. We are hence interested in average-case error estimates. In this paper we establish such bounds for the strong Lucas primality test, as there exist only worst-case, but no average-case error bounds. This allows us to use this test with more confidence. Let us examine an algorithm that draws odd <jats:italic>k<\/jats:italic>-bit integers uniformly and independently, runs <jats:italic>t<\/jats:italic> independent iterations of the strong Lucas test with randomly chosen parameters, and outputs the first number that passes all <jats:italic>t<\/jats:italic> consecutive rounds. We attain numerical upper bounds on the probability that a composite is returned. Moreover, we examine a slight modification of this algorithm that only considers integers that are not divisible by small primes, yielding improved bounds. In addition, we classify the numbers that contribute most to our estimate.<\/jats:p>","DOI":"10.1007\/s10623-023-01347-w","type":"journal-article","created":{"date-parts":[[2024,1,18]],"date-time":"2024-01-18T11:43:09Z","timestamp":1705578189000},"page":"1341-1378","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":3,"title":["Average case error estimates of the strong Lucas test"],"prefix":"10.1007","volume":"92","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-5525-736X","authenticated-orcid":false,"given":"Semira","family":"Einsele","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Kenneth","family":"Paterson","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"297","published-online":{"date-parts":[[2024,1,18]]},"reference":[{"key":"1347_CR1","unstructured":"Akbary A., Friggstad Z., Juricevic R.: Explicit upper bounds for $$f(n) = \\prod _{p \\le p_{\\omega (n)}} \\frac{p}{p-1}$$. Contrib. Discrete Math. 2(2) (2007)."},{"key":"1347_CR2","doi-asserted-by":"crossref","unstructured":"Albrecht M.R., Massimo J., Paterson K.G., Somorovsky J.: Prime and prejudice: primality testing under adversarial conditions. In: Proceedings of the 2018 ACM SIGSAC Conference on Computer and Communications Security, pp. 281\u2013298 (2018).","DOI":"10.1145\/3243734.3243787"},{"issue":"218","key":"1347_CR3","doi-asserted-by":"publisher","first-page":"869","DOI":"10.1090\/S0025-5718-97-00836-3","volume":"66","author":"F Arnault","year":"1997","unstructured":"Arnault F.: The Rabin-Monier theorem for Lucas pseudoprimes. Math. Comput. 66(218), 869\u2013881 (1997).","journal-title":"Math. Comput."},{"issue":"152","key":"1347_CR4","doi-asserted-by":"publisher","first-page":"1391","DOI":"10.1090\/S0025-5718-1980-0583518-6","volume":"35","author":"R Baillie","year":"1980","unstructured":"Baillie R., Wagstaff S.S.: Lucas pseudoprimes. Math. Comput. 35(152), 1391\u20131417 (1980).","journal-title":"Math. Comput."},{"key":"1347_CR5","doi-asserted-by":"crossref","unstructured":"Brandt J., Damg\u00e5rd I.: On generation of probable primes by incremental search. In: Advances in Cryptology-CRYPTO\u201992: 12th Annual International Cryptology Conference Santa Barbara, California, USA August 16\u201320, 1992 Proceedings 12, pp. 358\u2013370 (1993). Springer.","DOI":"10.1007\/3-540-48071-4_26"},{"issue":"5","key":"1347_CR6","doi-asserted-by":"publisher","first-page":"232","DOI":"10.1090\/S0002-9904-1910-01892-9","volume":"16","author":"RD Carmichael","year":"1910","unstructured":"Carmichael R.D.: Note on a new number theory function. Bull. Am. Math. Soc. 16(5), 232\u2013238 (1910).","journal-title":"Bull. Am. Math. Soc."},{"issue":"203","key":"1347_CR7","doi-asserted-by":"publisher","first-page":"177","DOI":"10.1090\/S0025-5718-1993-1189518-9","volume":"61","author":"I Damg\u00e5rd","year":"1993","unstructured":"Damg\u00e5rd I., Landrock P., Pomerance C.: Average case error estimates for the strong probable prime test. Math. Comput. 61(203), 177\u2013194 (1993).","journal-title":"Math. Comput."},{"key":"1347_CR8","unstructured":"Donovan L.P.P.a.J.: Table of $$n$$ for $$a(n)$$ for $$n = 1\\dots 10000$$. https:\/\/oeis.org\/A006972\/b006972.txt. Accessed 12 June 2023."},{"key":"1347_CR9","doi-asserted-by":"crossref","unstructured":"Galbraith S., Massimo J., Paterson K.G.: Safety in numbers: on the need for robust diffie-hellman parameter validation. In: Public-Key Cryptography\u2013PKC 2019: 22nd IACR International Conference on Practice and Theory of Public-Key Cryptography, Beijing, China, April 14-17, 2019, Proceedings, Part II, pp. 379\u2013407 (2019). Springer.","DOI":"10.1007\/978-3-030-17259-6_13"},{"key":"1347_CR10","volume-title":"An Introduction to the Theory of Numbers","author":"GH Hardy","year":"1979","unstructured":"Hardy G.H., Wright E.M.: An Introduction to the Theory of Numbers. Oxford University Press, Oxford (1979)."},{"key":"1347_CR11","volume-title":"A Classical Introduction to Modern Number Theory. Graduate Texts in Mathematics","author":"K Ireland","year":"1990","unstructured":"Ireland K.: A Classical Introduction to Modern Number Theory. Graduate Texts in Mathematics, vol. 84. Springer, New York (1990)."},{"issue":"188","key":"1347_CR12","doi-asserted-by":"publisher","first-page":"721","DOI":"10.1090\/S0025-5718-1989-0982368-4","volume":"53","author":"SH Kim","year":"1989","unstructured":"Kim S.H., Pomerance C.: The probability that a random probable prime is composite. Math. Comput. 53(188), 721\u2013741 (1989).","journal-title":"Math. Comput."},{"key":"1347_CR13","unstructured":"Leng A.: Independence of the miller-rabin and lucas probable prime tests (2017)."},{"key":"1347_CR14","doi-asserted-by":"crossref","unstructured":"Miller G.L.: Riemann\u2019s hypothesis and tests for primality. In: Proceedings of the Seventh Annual ACM Symposium on Theory of Computing, pp. 234\u2013239 (1975).","DOI":"10.1145\/800116.803773"},{"issue":"1","key":"1347_CR15","doi-asserted-by":"publisher","first-page":"97","DOI":"10.1016\/0304-3975(80)90007-9","volume":"12","author":"L Monier","year":"1980","unstructured":"Monier L.: Evaluation and comparison of two efficient probabilistic primality testing algorithms. Theor. Comput. Sci. 12(1), 97\u2013108 (1980).","journal-title":"Theor. Comput. Sci."},{"key":"1347_CR16","doi-asserted-by":"crossref","unstructured":"M\u00fcller S.: On the combined fermat\/lucas probable prime test. In: Cryptography and Coding: 7th IMA International Conference Cirencester, UK, December 20\u201322, 1999 Proceedings 7, pp. 222\u2013235 (1999). Springer.","DOI":"10.1007\/3-540-46665-7_26"},{"issue":"1","key":"1347_CR17","doi-asserted-by":"publisher","first-page":"128","DOI":"10.1016\/0022-314X(80)90084-0","volume":"12","author":"MO Rabin","year":"1980","unstructured":"Rabin M.O.: Probabilistic algorithm for testing primality. J. Number Theory 12(1), 128\u2013138 (1980).","journal-title":"J. Number Theory"},{"key":"1347_CR18","doi-asserted-by":"publisher","first-page":"128","DOI":"10.1016\/0022-314X(80)90084-0","volume":"12","author":"MO Rabin","year":"1980","unstructured":"Rabin M.O.: Probabolistic algorithm for primality testing. J. Number Theory 12, 128\u2013138 (1980).","journal-title":"J. Number Theory"},{"issue":"1","key":"1347_CR19","doi-asserted-by":"publisher","first-page":"45","DOI":"10.1007\/BF02384300","volume":"21","author":"H Riesel","year":"1983","unstructured":"Riesel H., Vaughan R.C.: On sums of primes. Arkiv f\u00f6r Matematik 21(1), 45\u201374 (1983).","journal-title":"Arkiv f\u00f6r Matematik"},{"issue":"1","key":"1347_CR20","first-page":"1","volume":"54","author":"N Suwa","year":"2012","unstructured":"Suwa N.: Some remarks on Lucas pseudoprimes. Math. J. Okayama Univ. 54(1), 1\u201332 (2012).","journal-title":"Math. J. Okayama Univ."},{"issue":"1","key":"1347_CR21","doi-asserted-by":"publisher","first-page":"133","DOI":"10.4153\/CMB-1977-025-9","volume":"20","author":"HC Williams","year":"1977","unstructured":"Williams H.C.: On numbers analogous to the Carmichael numbers. Can. Math. Bull. 20(1), 133\u2013143 (1977).","journal-title":"Can. Math. Bull."}],"container-title":["Designs, Codes and Cryptography"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10623-023-01347-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/article\/10.1007\/s10623-023-01347-w\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/link.springer.com\/content\/pdf\/10.1007\/s10623-023-01347-w.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2024,5,2]],"date-time":"2024-05-02T16:22:08Z","timestamp":1714666928000},"score":1,"resource":{"primary":{"URL":"https:\/\/link.springer.com\/10.1007\/s10623-023-01347-w"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2024,1,18]]},"references-count":21,"journal-issue":{"issue":"5","published-print":{"date-parts":[[2024,5]]}},"alternative-id":["1347"],"URL":"https:\/\/doi.org\/10.1007\/s10623-023-01347-w","relation":{},"ISSN":["0925-1022","1573-7586"],"issn-type":[{"value":"0925-1022","type":"print"},{"value":"1573-7586","type":"electronic"}],"subject":[],"published":{"date-parts":[[2024,1,18]]},"assertion":[{"value":"13 February 2023","order":1,"name":"received","label":"Received","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"6 September 2023","order":2,"name":"revised","label":"Revised","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"2 December 2023","order":3,"name":"accepted","label":"Accepted","group":{"name":"ArticleHistory","label":"Article History"}},{"value":"18 January 2024","order":4,"name":"first_online","label":"First Online","group":{"name":"ArticleHistory","label":"Article History"}}]}}