I was wondering, is there any rule for the smallest factor of M (where M = 2^P - 1, P is a prime) when M is composite.
I have an observation, I found the smallest factor for the following P:
P Smallest Factor
11 23
23 47
29 233
37 223
59 179951
193 13821503
My question is Is there any lower bound on the smallest factor depending on P, From the observation we can see that the smallest factor > 2*P.
https://primes.utm.edu/glossary/page.php?sort=MersenneDivisor shows us that we have :
$$q|M_p\implies q=2kp+1$$, Which takes $k\equiv 0,-p\bmod 4$ to possibly be prime and 1 or 7 mod 8.
We also have via the second theorem that:$$p\equiv 3\bmod 4,q=2p+1\in \mathbb{P}\implies q| M_p$$ Which shows by congruence, that all $p$ in first kind Cunningham chains, unless $p\equiv 1\bmod 4$ which makes it at the beginning or, if it's at the end, are out as composite with $k=1$ . That or they aren't in a chain at all for Mersenne primes exponents.
Note
$(2kp+1)(2jp+1)=2(2kj+k+j)p+1$ like normal Sieve of sundaram on multiples of $p$
we can sieve out by smaller primes of course, if $k\equiv p\bmod 3$ then $2kp+1$ will be divisible ( exception $p=3$) by 3, in fact if ${r-1\over 2}\equiv kp\bmod r$ then $r$ divides $2kp+1$ This lets you sieve small k away. so we have two sieve of sundaram versions. In fact we could predict survivors if we knew where they were both null. but that seems a far way off. That's why GIMPS sieves by GPU TF, and modified P-1 test, and at last check was working on a PRP test, all before doing any LL testing. Arguably you can modify the LL test for testing for factors of known composites, but it's not really efficient.