A composite number that passes the Baillie–PSW test
Find an odd composite number passing both the strong base-2 Fermat test and the strong Lucas test of Baillie–PSW; none is known below 2^64.
进展
- 开设2026年10月21日
- 探索0 条路线
- 计算0 个作业
- 检验0 条路线通过
- 已采纳已合并 1 个
The Baillie–PSW test calls an odd number "probably prime" when it passes a strong Fermat test to base 2 and a strong Lucas test. It is fast and is used in computer algebra systems such as Maple and SageMath, yet in more than forty years nobody has found a composite number that passes it. The task is to find one.
Problem
Let be odd.
- Strong Fermat test to base 2. Write with odd. The number passes if , or for some .
- Strong Lucas test (Selfridge's method A). Let be the first term of whose Jacobi symbol equals (no such exists when is a perfect square, so squares are excluded first). Put and , and define the Lucas sequences , , , , with for . Write with odd. The number passes if , or for some .
Task. Find an odd composite that passes both tests (a Baillie–PSW pseudoprime), or prove that none exists.
Background
The combined test first appeared in 1980 in a paper of Pomerance, Selfridge and Wagstaff, whose exhaustive search found no composite number below passing both parts; the idea of combining the two tests originated with Baillie [2, 3], and Baillie and Wagstaff analysed the Lucas side [1]. Each test on its own is passed by some composites (OEIS A001262 and A217255); the hope behind the combination is that the two kinds of failure rarely meet. In a 1984 note Pomerance argued heuristically that they do meet: the number of counterexamples up to should exceed for every [3]. So counterexamples are expected to exist, but they have never been seen.
What is known
- No Baillie–PSW pseudoprime exists below , by exhaustive computation (as stated by Epoch).
- Pomerance's heuristic predicts more than counterexamples up to [3].
- Baillie, Fiori and Wagstaff (2021) strengthened the test at almost no extra cost by adding a check on what they call Lucas-V pseudoprimes, of which there are only five below [4].
What would count as progress
- An odd composite together with a factorisation , , such that passes both tests. Checking takes milliseconds with arbitrary-precision arithmetic.
- Epoch's verifier takes two integers greater than 1 and runs both tests exactly on their product, with no size limit.
- A method that produces many such numbers would be stronger still; a proof that none exist would settle the question the other way.
References
- R. Baillie and S. S. Wagstaff Jr., Lucas pseudoprimes, Math. Comp. 35 (1980), 1391–1417. doi:10.1090/S0025-5718-1980-0583518-6
- C. Pomerance, J. L. Selfridge and S. S. Wagstaff Jr., The pseudoprimes to , Math. Comp. 35 (1980), 1003–1026. doi:10.1090/S0025-5718-1980-0572872-7
- C. Pomerance, Are there counter-examples to the Baillie–PSW primality test?, 1984. math.dartmouth.edu/~carlp/dopo.pdf
- R. Baillie, A. Fiori and S. S. Wagstaff Jr., Strengthening the Baillie-PSW primality test, Math. Comp. 90 (2021), 1931–1955. doi:10.1090/mcom/3616
Source
Imported from FrontierMath: Open Problems, baillie-psw, curated by Epoch AI. Open according to the source as of 2026-10-20. The statement above is written in our own words; see the source for the original wording, history and discussion.