mersenneforum.org Mersenne Prime Prediction Tool Savant
 Register FAQ Search Today's Posts Mark Forums Read

 2021-01-09, 01:50 #1 ONeil   Dec 2017 24·3·5 Posts Mersenne Prime Prediction Tool Savant I designed an intense tool to help you fetter out if you should test a certain exponent to be a Mersenne Prime Number. Whenever one needs to know something about numbers well the obvious route is to utilize statistics. This tool which is not 100% accurate can help with predicting if your Prime Exponent may produce a Mersenne Prime. We have three types of exponents which produce Mersenne Primes, they are low end twins, mids and high end twins. I vigorously ran some models on the averages which numbers produces so if your number is closer to an Mersenne prime value than a non-prime value it might be a go. Now for the number which can upset the model. Number 37 is an outlier as it always seems to be when predicting Mersenne Primes so don't trust it. As a matter of fact I found the mids to be hard to predict. Have fun and I hope this helps you find your World Record Prime, Good Luck & Prime ON! Code: while True: print('''If the output of your number is closer to one of these numbers for low twin, mid and high twin than this should predict if the outcome of your number is Mprime or not. This is a very loose prediction model. Remember the exponent you use if its a Low Twin, mid or High Twin, so you can check against averages. Certain numbers like 37 throw off this tool. Non-primes Averages: Low end Twin 35.6 non-twin mid number 28.37 High end Twin 26.2 Mersenne Primes Averages: Low end Twin 31.7 non-twin mid number 22 High end Twin 25.3''') p = int(input('Enter prime number: ')) n = ((pow(2,p-1)*2-1)*2) print(n%2+n%3+n%5+n%6+n%7+n%8+n%9+n%10+n%11)
 2021-01-09, 02:33 #2 Uncwilly 6809 > 6502     """"""""""""""""""" Aug 2003 101×103 Posts 32·5·211 Posts Code: import random z = random.randint(1,6000001) p = int(input('Enter prime number: ')) if z > 6000000 : print ("Test it") else: print ("Likely not prime") Try this code, it is as effective.
2021-01-09, 02:45   #3
ONeil

Dec 2017

3608 Posts

Quote:
 Originally Posted by Uncwilly Code: import random z = random.randint(1,6000001) p = int(input('Enter prime number: ')) if z > 6000000 : print ("Test it") else: print ("Likely not prime") Try this code, it is as effective.
Nice Joke Uncwilly

 2021-01-09, 02:50 #4 Uncwilly 6809 > 6502     """"""""""""""""""" Aug 2003 101×103 Posts 32·5·211 Posts No joke it is as effective as your numerology.
2021-01-09, 02:52   #5
ONeil

Dec 2017

24×3×5 Posts

Quote:
 Originally Posted by Uncwilly No joke it is as effective as your numerology.
I'M NOT USING NUMEROLOGY!

2021-01-09, 03:28   #6
retina
Undefined

"The unspeakable one"
Jun 2006
My evil lair

22·1,531 Posts

Quote:
 Originally Posted by ONeil I'M NOT USING NUMEROLOGY!
Prove it. Show us some actual mathematics.

2021-01-09, 03:38   #7
ONeil

Dec 2017

24·3·5 Posts

Quote:
 Originally Posted by retina Prove it. Show us some actual mathematics.
Well retina that's very easy I'm not using this code which is for numerology.

Code:
n = (((42- 1) % 9 + 1 if 42 else 0))

2021-01-09, 03:46   #8
retina
Undefined

"The unspeakable one"
Jun 2006
My evil lair

22·1,531 Posts

Quote:
 Originally Posted by ONeil Well retina that's very easy I'm not using this code which is for numerology. Code: n = (((42- 1) % 9 + 1 if 42 else 0))
Random numbers selected from "the air" and inserted into a random formula ... that isn't even close to mathematics. The is pure numerology.

Thanks for proving Uncwilly's comment true.

So where is your mathematics? We are still waiting ....

Last fiddled with by retina on 2021-01-09 at 03:47

2021-01-09, 03:52   #9
Dr Sardonicus

Feb 2017
Nowhere

105738 Posts

Quote:
 Originally Posted by ONeil I designed an intense tool to help you fetter out if you should test a certain exponent to be a Mersenne Prime Number.
"Intense tool?" "Fetter out?"
Quote:
 Whenever one needs to know something about numbers well the obvious route is to utilize statistics.
Uh,...

 2021-01-09, 04:00 #10 ONeil   Dec 2017 3608 Posts Look this is a tool you can weed out the numbers that are far from the average of an Mprime. Also if a number if found to be close or on top of an Mprime average take it with a grain of salt. I tell you what though some numbers are probably worth testing more than others by following these stats.
2021-01-09, 04:02   #11
retina
Undefined

"The unspeakable one"
Jun 2006
My evil lair

17EC16 Posts

Quote:
 Originally Posted by ONeil Look this is a tool you can weed out the numbers that are far from the average of an Mprime. Also if a number if found to be close or on top of an Mprime average take it with a grain of salt. I tell you what though some numbers are probably worth testing more than others by following these stats.

Do you have any?

 Similar Threads Thread Thread Starter Forum Replies Last Post ONeil ONeil 17 2020-12-14 18:38 thorken Software 66 2019-01-13 21:08 Uncwilly Miscellaneous Math 85 2017-12-10 16:03 paulunderwood 3*2^n-1 Search 7 2008-06-20 10:31 Omniprime1 Miscellaneous Math 8 2007-03-01 20:04

All times are UTC. The time now is 19:45.

Tue Apr 20 19:45:03 UTC 2021 up 12 days, 14:25, 1 user, load averages: 2.59, 2.79, 2.97