How did you get -1?
Lucas-Lehmer Test: For p odd, the Mersenne number 2p-1 is prime if and only
if 2p-1 divides S(p-1) where S(n+1) = S(n)2-2, and S(1) = 4.
You missed the premise "for p odd".
And even so, S(p-1)/(2p-1) with p = 2; S(1)/3 = 4/3.
Carleton
----- Original Message -----
From: "Nathan Russell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 2:19 PM
Subject: Mersenne: M(2) - composite?!
> Hi all,
>
> I'm a bit puzzled. The other day, I donated blood and kept my mind
> busy by doing LL tests on a few exponents mentally. I kept getting
> the result that the LL test for M(2) ends up resulting in a repeating
> value of -1, and certainly cannot ever become zero. Am I missing
> something really obvious? I confirmed it on paper later to make sure
> I didn't make a mistake in the mental math.
>
> Nathan
> _________________________________________________________________________
> Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
> Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers
>
_________________________________________________________________________
Unsubscribe & list info -- http://www.scruz.net/~luke/signup.htm
Mersenne Prime FAQ -- http://www.tasam.com/~lrwiman/FAQ-mers