Prime Numbers

CronosCronos Join Date: 2002-10-18 Member: 1542Members
<div class="IPBDescription">Fascinating</div> For those not familiar with prime numbers, they are basically numbers that cannot be divided by any other whole number except for 1 and itself.

Examples:

1, 2, 3, 5, 7, 11, 13 and 17 are ALL primes.

Now, a few months ago I was daydreaming in maths, doing anything BUT revision. I stumbled across a pattern.

Take any prime number except for 2. Multiply that number by 3. Now, add or minus 2 from the resulting number, and you will come up with at least one prime and at most two.

Proof

3 * 3 = 9

9 + 2 = 11, A Prime
9 - 2 = 7, A Prime

7 * 3 = 21

21 + 2 = 23, A Prime
21 - 2 = 19, A Prime

Some numbers give only one prime where the other resulting number is not a prime. Either way it looks like a coherent pattern to me.

What says the mathematically minded in here?
«1

Comments

  • DOOManiacDOOManiac Worst. Critic. Ever. Join Date: 2002-04-17 Member: 462Members, NS1 Playtester
    The only cool primes are Metroid and Optimus. :P
  • DiablusDiablus Join Date: 2003-03-31 Member: 15080Members
    edited January 2004
    did u know <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> + <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> = <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> <!--emo&::marine::--><img src='http://www.unknownworlds.com/forums/html/emoticons/marine.gif' border='0' style='vertical-align:middle' alt='marine.gif'><!--endemo--> ?!?!?!?!
  • AllUrHiveRblong2usAllUrHiveRblong2us By Your Powers Combined... Join Date: 2002-12-20 Member: 11244Members
    Unless you can in some way relate this to the number one-thousand three-hundred and thirty-seven then I must say "Meh" to you sir!
  • Bosnian_CowboyBosnian_Cowboy Join Date: 2003-06-07 Member: 17088Members, Constellation
    That reminds me of the Algebra test I'm going to fail next week. That's right, I'm 18 and I'm still in Algebra.
  • pardzhpardzh Join Date: 2002-10-25 Member: 1601Members
  • DiablusDiablus Join Date: 2003-03-31 Member: 15080Members
    <!--QuoteBegin--Bosnian+Jan 4 2004, 11:28 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Bosnian @ Jan 4 2004, 11:28 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> That reminds me of the Algebra test I'm going to fail next week. That's right, I'm 18 and I'm still in Algebra. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Alg 1 or 2?
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Well, what you've listed as a proof isn't really proving it. I'm not sure whether you're right or not because I haven't worked it through myself (I'm not good at doing that in my head). Try using Proof by Mathematical Induction (er... if you know what that is <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->)
  • Bosnian_CowboyBosnian_Cowboy Join Date: 2003-06-07 Member: 17088Members, Constellation
    <!--QuoteBegin--Diablus+Jan 4 2004, 08:29 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Diablus @ Jan 4 2004, 08:29 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Bosnian+Jan 4 2004, 11:28 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Bosnian @ Jan 4 2004, 11:28 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> That reminds me of the Algebra test I'm going to fail next week. That's right, I'm 18 and I'm still in Algebra. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Alg 1 or 2? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I'm taking the second. I've failed all math subjects I've taken in high school at least once. But I somehow managed to get through and still stay only one year behind.
  • WarriorWarrior Join Date: 2003-02-16 Member: 13624Members
    <!--QuoteBegin--DOOManiac+Jan 4 2004, 10:16 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Jan 4 2004, 10:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> The only cool primes are Metroid and Optimus. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    lol.
    Interesting thing on prime numbers.
  • LikuLiku I, am the Somberlain. Join Date: 2003-01-10 Member: 12128Members
    <!--QuoteBegin--DOOManiac+Jan 4 2004, 08:16 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (DOOManiac @ Jan 4 2004, 08:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> The only cool primes are Metroid and Optimus. <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Roffles.

    Nice find though.
  • EpidemicEpidemic Dark Force Gorge Join Date: 2003-06-29 Member: 17781Members
    edited January 2004
    Can anybody prove wether this works with with any other broken numbers as multipliers? Like 5,7,9 etc.
  • MulletMullet Join Date: 2003-04-28 Member: 15910Members, Constellation
  • Bosnian_CowboyBosnian_Cowboy Join Date: 2003-06-07 Member: 17088Members, Constellation
    edited January 2004
    Found something.

    11*3=33

    33+2=35

    35 is divisible by 5 and 7.

    Your formula is proven wrong.

    Edit: Nevermind, you've already addressed this issue.
  • AllUrHiveRblong2usAllUrHiveRblong2us By Your Powers Combined... Join Date: 2002-12-20 Member: 11244Members
    I'm a geek so I actually went and did this with a bunch of big primes, and I can't find an instance where this has been proven wrong.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    Just because it works for a series of numbers, doesn't mean it's proven :/


    For example. I could come up with a system such as..... "for any prime number greater than 2, multiply that number by 1.5 and round to the odd integer to get another prime number." Which works on 3,5,7,11, and 13, but when you take 17 and try to generate a new number, it doesn't work :/



    Still a pretty neat find tho.
  • MoquiaoMoquiao Join Date: 2003-05-09 Member: 16168Members
    nice tbh.. this is what seperates us from 'other' communities.. we can use our heads..
  • kidakida Join Date: 2003-02-20 Member: 13778Members
    edited January 2004
    <!--QuoteBegin--Mullet+Jan 4 2004, 10:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mullet @ Jan 4 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I hate math<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Seconded
  • TestamentTestament Join Date: 2002-11-02 Member: 4037Members
    <!--QuoteBegin--kida+Jan 5 2004, 04:00 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kida @ Jan 5 2004, 04:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Mullet+Jan 4 2004, 10:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mullet @ Jan 4 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I hate math<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Seconded <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Thirded.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    <!--QuoteBegin--Testament+Jan 4 2004, 08:02 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Testament @ Jan 4 2004, 08:02 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--kida+Jan 5 2004, 04:00 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kida @ Jan 5 2004, 04:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Mullet+Jan 4 2004, 10:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mullet @ Jan 4 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I hate math<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Seconded <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Thirded. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    refuted
  • EpidemicEpidemic Dark Force Gorge Join Date: 2003-06-29 Member: 17781Members
    <!--QuoteBegin--[WHO]Them+Jan 5 2004, 05:05 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([WHO]Them @ Jan 5 2004, 05:05 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Testament+Jan 4 2004, 08:02 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Testament @ Jan 4 2004, 08:02 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--kida+Jan 5 2004, 04:00 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kida @ Jan 5 2004, 04:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Mullet+Jan 4 2004, 10:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mullet @ Jan 4 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I hate math<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Seconded <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Thirded. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    refuted <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    Owned <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo-->
  • kidakida Join Date: 2003-02-20 Member: 13778Members
  • AllUrHiveRblong2usAllUrHiveRblong2us By Your Powers Combined... Join Date: 2002-12-20 Member: 11244Members
    <!--QuoteBegin--Epidemic+Jan 4 2004, 11:08 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Epidemic @ Jan 4 2004, 11:08 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--[WHO]Them+Jan 5 2004, 05:05 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> ([WHO]Them @ Jan 5 2004, 05:05 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Testament+Jan 4 2004, 08:02 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Testament @ Jan 4 2004, 08:02 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--kida+Jan 5 2004, 04:00 AM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (kida @ Jan 5 2004, 04:00 AM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> <!--QuoteBegin--Mullet+Jan 4 2004, 10:38 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (Mullet @ Jan 4 2004, 10:38 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin-->I hate math<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->

    Seconded <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Thirded. <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    refuted <!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
    Owned <!--emo&:D--><img src='http://www.unknownworlds.com/forums/html/emoticons/biggrin.gif' border='0' style='vertical-align:middle' alt='biggrin.gif'><!--endemo--> <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    multiplied by 7!

    Haha yes! I think I killed it!
  • Phoenix_SixPhoenix_Six Join Date: 2003-11-10 Member: 22442Members
    Could someone write a computer proggy that will test this up to say, 99 billion?
    I'd do it myself but I'm really damn lazy <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' style='vertical-align:middle' alt='tounge.gif'><!--endemo-->
    Or better yet, come up with a formal proof - I'm curious about this.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    formal proofs are so hard though :/

    for starters you'll need the definition of a prime number in math-speak, which would probably look something like this...


    an integer Q is prime if: floor(Q/k) != Q/k for all k, 1 < k < Q


    but you got me as to where you'd go from there....
  • Bosnian_CowboyBosnian_Cowboy Join Date: 2003-06-07 Member: 17088Members, Constellation
    I almost got a heart attack from reading that math-speak. It's not math itself I hate, but math-speak. It has destroyed my dreams and my future!
  • SoulSkorpionSoulSkorpion Join Date: 2002-04-12 Member: 423Members
    Time for a quick maths lesson.

    Proving several cases does not prove a theory. Proving 999999 cases with a computer program does not prove a theory. What <i>does</i> prove theories is the principle of Mathematical Induction, which I will briefly explain.

    The basic idea is to prove that it works for one base case, then prove that it works for case n+1. The idea is that if it worked once, and it always works for "the next number" then it must always work.

    Anyway, I can't help any further because while I understand the principle I'm terrible at applying it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->. Might want to do a Google, though.
  • Phoenix_SixPhoenix_Six Join Date: 2003-11-10 Member: 22442Members
    I didn't mean to suggest that showing the theorem to be true for 99 billion numbers meant it was true - however, not knowing how to show that it will always work for case n+1, I figure just seeing if it works up to a number that high is still somewhat useful.
  • ConfuzorConfuzor Join Date: 2002-11-01 Member: 2412Awaiting Authorization
    edited January 2004
    As much as I hate math, something didn't seem to work.

    I got 41 from 13, and decided to try it with 41...

    (41 x 3) - 2 = 121 (121/11 = 11)
    (41 x 3) + 2 = 125 (125/5 = 25)

    Nice try though, maybe it works only up to numbers whose quotients are less than 100.

    To lazy to try though, here are the numbers:

    3 5 7 11 13 17 19 23 29
    31 37
  • Phoenix_SixPhoenix_Six Join Date: 2003-11-10 Member: 22442Members
    Nice job Confuzor.
  • [WHO]Them[WHO]Them You can call me Dave Join Date: 2002-12-11 Member: 10593Members, Constellation
    <!--QuoteBegin--SoulSkorpion+Jan 4 2004, 08:51 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (SoulSkorpion @ Jan 4 2004, 08:51 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Time for a quick maths lesson.

    Proving several cases does not prove a theory. Proving 999999 cases with a computer program does not prove a theory. What <i>does</i> prove theories is the principle of Mathematical Induction, which I will briefly explain.

    The basic idea is to prove that it works for one base case, then prove that it works for case n+1. The idea is that if it worked once, and it always works for "the next number" then it must always work.

    Anyway, I can't help any further because while I understand the principle I'm terrible at applying it <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' style='vertical-align:middle' alt='smile.gif'><!--endemo-->. Might want to do a Google, though. <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    to my understanding. It is not applicable to something such as prime numbers where there is no surefire method for generating the next prime number in the series.

    It however applies very well to things like the fibbonacci sequence :/
Sign In or Register to comment.