1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Prime/not Prime

Discussion in 'Fun and Games' started by Phoenix92, Jul 2, 2013.

  1. Phoenix92

    Full Member

    Joined:
    Apr 6, 2013
    Messages:
    248
    Likes Received:
    94
    Location:
    Albuquerque NM
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Lesbian
    Out Status:
    Out to everyone
    The way this game is played is simple;
    You say whether or not the number the person above you asked is prime or not, then you give a number and the next person would guess.

    Example;
    Player 1; 1553
    Player 2; prime, 993
    Player 3; not prime, 467
    Et cetera.

    The number that I want the game to start out on is this one;
    987654321
     
  2. Cnidocyte

    Regular Member

    Joined:
    Oct 1, 2010
    Messages:
    0
    Likes Received:
    0
    Location:
    North Carolina
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Some people
    Not prime.

    732013
     
  3. Phoenix92

    Full Member

    Joined:
    Apr 6, 2013
    Messages:
    248
    Likes Received:
    94
    Location:
    Albuquerque NM
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Lesbian
    Out Status:
    Out to everyone
    Not prime.

    857
     
  4. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
    857 is prime. The program I wrote for integer factorization is really naive, but whatever. At least it gives me more prime numbers to throw at you folks.

    Please determine if the following number is prime. If not, please provide its factorization:

    317320019
     
    #4 Pret Allez, Jul 2, 2013
    Last edited: Jul 2, 2013
  5. Tetraquark

    Tetraquark Guest

    Not prime: 16903 * 18773

    How about 785293?
     
  6. Phoenix92

    Full Member

    Joined:
    Apr 6, 2013
    Messages:
    248
    Likes Received:
    94
    Location:
    Albuquerque NM
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Lesbian
    Out Status:
    Out to everyone
    Please, Prime, the 62861st prime.

    62861
     
  7. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
    By trial division, 62,861 is prime.

    370,844,020,849.

    I'm thinking of writing an improvement to my program. Trial division is silly. We can just make a sieve up to floor(n^0.5) and see if those divide into n.
     
  8. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
    Bump. Factor some integers! What's the matter, too scared?
     
  9. Cnidocyte

    Regular Member

    Joined:
    Oct 1, 2010
    Messages:
    0
    Likes Received:
    0
    Location:
    North Carolina
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Some people
    Not prime: 443,263 x 836,623

    1,073,676,287
     
  10. Phoenix92

    Full Member

    Joined:
    Apr 6, 2013
    Messages:
    248
    Likes Received:
    94
    Location:
    Albuquerque NM
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Lesbian
    Out Status:
    Out to everyone
    Prime!

    33333333333333337
     
  11. Jinkies

    Full Member

    Joined:
    Oct 27, 2011
    Messages:
    2,321
    Likes Received:
    47
    Location:
    Northern Ireland
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Out to everyone
    Uhhhhh....prime.

    876.1028383
     
  12. person57

    Full Member

    Joined:
    Jun 29, 2013
    Messages:
    617
    Likes Received:
    0
    Location:
    California
    Not Prime

    923776532146021
     
  13. Cnidocyte

    Regular Member

    Joined:
    Oct 1, 2010
    Messages:
    0
    Likes Received:
    0
    Location:
    North Carolina
    Gender:
    Male
    Sexual Orientation:
    Gay
    Out Status:
    Some people
    Not Prime

    274,876,858,369