From: rjc@gnu.ai.mit.edu (Ray)
To: cypherpunks@toad.com
Message Hash: 56100af51062bed9d57905066544a61cefce66ddb6ec0c40d5ac13956eab5928
Message ID: <9404110253.AA12284@geech.gnu.ai.mit.edu>
Reply To: N/A
UTC Datetime: 1994-04-11 02:53:56 UTC
Raw Date: Sun, 10 Apr 94 19:53:56 PDT
From: rjc@gnu.ai.mit.edu (Ray)
Date: Sun, 10 Apr 94 19:53:56 PDT
To: cypherpunks@toad.com
Subject: Re: Prime Numbers
Message-ID: <9404110253.AA12284@geech.gnu.ai.mit.edu>
MIME-Version: 1.0
Content-Type: text/plain
Jeremy Cooper writes:
> I found something interesting that I have not proven, but it has not
> failed yet:
> The integer N is prime if:
> 2^N - 2
> ---------
> N is an integer.
This is fermat's little theorem. What you have written basically
says 2^N - 2 = 0 (mod N) or 2^(N-1) = 1 (mod N). Note, the converse
doesn't apply. If (2^N-2)/N is an integer, N isn't neccessarily
prime. For example, take N=561=(3*11*37)
For extra credit, prove your hypothesis. ;-)
-Ray
-- Ray Cromwell | Engineering is the implementation of science; --
-- rjc@gnu.ai.mit.edu | politics is the implementation of faith. --
Return to April 1994
Return to “rjc@gnu.ai.mit.edu (Ray)”