View Single Post
Old 2021-03-22, 17:18   #13
Viliam Furik
Viliam Furik's Avatar
"Viliam Furík"
Jul 2018
Martin, Slovakia

2×383 Posts

The pattern you observed is fairly trivial I would say. If the prime exponent you're testing modulo p is itself a Mersenne prime, then you are testing the Mersenne prime with a smaller exponent. For all Mersenne primes, S(x) (for x >= p) is equal to 2, because S(p-2) = 0 (mod p), S(p-1) = -2 (mod p), and S(p) = 2 (mod p).

So if there can be such a test for Mersenne numbers modulo p, it won't work for double Mersennes.
Viliam Furik is offline   Reply With Quote