Problems & Puzzles: Conjectures Conjecture 109. Another test of Primality On Jan 1, 2026 Sebastián Martín Ruiz sent the following Conjecture. Conjecture:
p>3, p=3 (mod 4) p is prime
if and only if
(1+i)^p=1-i (mod p) and (1+2i)^p=1-2i (mod p).
Q1. Prove this conjecture or find a counterexample. Q2. This conjecture has been tested up to p<10^9. Can you test it far beyond? Q3. Send the largest prime (original of you or not) that you can prove using this test, reporting the time spent in your computer. Additional notes by SMR:
a) The
test of Lucas-Lehmer for Mersenne primes Mp has a complexity
O(p^2 log p log log p)
b) Congruences modulo p are also defined for Gaussian integers, which are
complex numbers f) Comparative times table, running both tests in SMR PC:
Mersenne prime, Test Lucas Lehmer time, SMR Conjecture Time During January 10 to 16, 2025, contributions came from Emmanuel Vantieghem *** Emmanuel wrote:
I could not find a counterexample below 10^12.
If we restrict m to Mersenne numbers (i. e. : numbers of the form 2^p
- 1)
I found no counterexample with p < 59600.
However, it is easy to prove that the first congruence always holds for
such numbers:
![]()
In my opinion there might be a proof for the second congruence too, but
at this time I do not see how.
***
|
|||
|
|||
|
|
|||