mersenneforum.org  

Go Back   mersenneforum.org > Extra Stuff > Blogorrhea > ONeil

Reply
 
Thread Tools
Old 2021-01-09, 01:50   #1
ONeil
 
Dec 2017

24·3·5 Posts
Minus 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)
ONeil is offline   Reply With Quote
Old 2021-01-09, 02:33   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

61·157 Posts
Default

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.
Uncwilly is offline   Reply With Quote
Old 2021-01-09, 02:45   #3
ONeil
 
Dec 2017

111100002 Posts
Default

Quote:
Originally Posted by Uncwilly View Post
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
ONeil is offline   Reply With Quote
Old 2021-01-09, 02:50   #4
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101×103 Posts

61×157 Posts
Default

No joke it is as effective as your numerology.
Uncwilly is offline   Reply With Quote
Old 2021-01-09, 02:52   #5
ONeil
 
Dec 2017

24×3×5 Posts
Default

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

ONeil is offline   Reply With Quote
Old 2021-01-09, 03:28   #6
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

10111111111112 Posts
Default

Quote:
Originally Posted by ONeil View Post
I'M NOT USING NUMEROLOGY!
Prove it. Show us some actual mathematics.
retina is offline   Reply With Quote
Old 2021-01-09, 03:38   #7
ONeil
 
Dec 2017

24·3·5 Posts
Default

Quote:
Originally Posted by retina View Post
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))
ONeil is offline   Reply With Quote
Old 2021-01-09, 03:46   #8
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

614310 Posts
Default

Quote:
Originally Posted by ONeil View Post
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
retina is offline   Reply With Quote
Old 2021-01-09, 03:52   #9
Dr Sardonicus
 
Dr Sardonicus's Avatar
 
Feb 2017
Nowhere

26×71 Posts
Default

Quote:
Originally Posted by ONeil View Post
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,...
Dr Sardonicus is offline   Reply With Quote
Old 2021-01-09, 04:00   #10
ONeil
 
Dec 2017

24·3·5 Posts
Default

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.
ONeil is offline   Reply With Quote
Old 2021-01-09, 04:02   #11
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

6,143 Posts
Default

Quote:
Originally Posted by ONeil View Post
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.
Show your mathematics.

Do you have any?
retina is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prediction Next Exponent which produces a Mersenne Prime #52 ONeil ONeil 17 2020-12-14 18:38
New Mersenne Software For Test Mersenne Prime Numbers On Android thorken Software 66 2019-01-13 21:08
Do-it-yourself, crank, mersenne prediction thread. Uncwilly Miscellaneous Math 85 2017-12-10 16:03
Prediction for the next prime paulunderwood 3*2^n-1 Search 7 2008-06-20 10:31
Is there a Prime prediction algorithm? Omniprime1 Miscellaneous Math 8 2007-03-01 20:04

All times are UTC. The time now is 11:50.

Sat May 15 11:50:42 UTC 2021 up 37 days, 6:31, 0 users, load averages: 1.79, 1.80, 1.69

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.