Results 1 to 4 of 4

Thread: prime numbers

  1. #1

    Thread Starter
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    708

    prime numbers

    Does anyone know any usefull routines, for proving primes of the form 2^p-1.
    These are othwise known as Mersenne primes, since the exponent p is always prime too.

    To learn more about them see:
    http://mersenneforum.org/

    Or see my section here:
    http://www.mersenneforum.org/forumdisplay.php?f=16

  2. #2
    type Woss is new Grumpy; wossname's Avatar
    Join Date
    Aug 2002
    Location
    #!/bin/bash
    Posts
    5,682

    Re: prime numbers

    math.wolfram.com probably has lots of info on this, although they don't usually carry algorithms in any useful form (ie. code).
    I don't live here any more.

  3. #3

    Thread Starter
    Fanatic Member TTn's Avatar
    Join Date
    Jul 2004
    Posts
    708

    Re: prime numbers

    Yes wolfram is a great resource, although incomplete on many properties about these numbers, especially code. Thanks!

  4. #4
    Don't Panic! Ecniv's Avatar
    Join Date
    Nov 2000
    Location
    Amsterdam...
    Posts
    5,343

    Re: prime numbers

    There was a prime number contest last year in the contests section. And loads of previous posts on prime numbers, probably something around in one of those??
    I think I recall Wossname making an excellent proggy to do them??

    BOFH Now, BOFH Past, Information on duplicates

    Feeling like a fly on the inside of a closed window (Thunk!)
    If I post a lot, it is because I am bored at work! ;D Or stuck...
    * Anything I post can be only my opinion. Advice etc is up to you to persue...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width