20200908, 18:25  #1 
Dec 2017
2^{4}·3·5 Posts 
Prime in Prime Out
I developed a prime input program in Python where atleast one of the three outputs should have an outcome of a prime number! If for some reason no outputs produce, than it must be either a big number imputed and the outcome is off by under 100 or 2.
I was trying to forecast Mersenne Primes again, yet now it does, however at times forecast prime numbers. I know this is not a big deal, because we have code which can yield primes perfectly. I did obtain a prime number from the largest prime root found which contributed to the largest world record Mersenne Prime Number. Here is the code if you are curies: Code:
print('''Enter a prime number to retrieve a prime number, occasionally all 3 will be off, but more than likely one output should be prime''') while True: p = int(float(input("Enter a prime number: "))) if p == 0: print(False) else: print(p) print((round(4*(p*(.49999999911781146)+p)+(.49999999911781146))+1),'''Prediction of prime number!''') print((round(4*(p*(.49999999911781146)+p)+(.49999999911781146))+13),'''Use this one for LARGE NUMBERS prediction of prime number!''') print((round(4*(p*(.49999999911781146)+p)+(.49999999911781146))+7),'''Last ditch Prime prediction!''') 
20200908, 20:17  #2 
Feb 2016
! North_America
2×3×13 Posts 
2233332341 as input does not pruduce any prime. Do you have any idea what number is "too big", where's the limit?

20200908, 20:26  #3 
Dec 2017
2^{4}×3×5 Posts 

20200909, 04:02  #4 
Aug 2006
3×1,987 Posts 
I believe the first prime p for which all three numbers are not only composite, but for which all numbers within 100 of each are composite is p = 64516043. I imagine these primes should have density 1.

Thread Tools  
Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
(M48) NEW MERSENNE PRIME! LARGEST PRIME NUMBER DISCOVERED!  dabaichi  News  571  20201026 11:02 
How does one prove that a mersenne prime found with CUDALucas is really prime?  ICWiener  Software  38  20180609 13:59 
Twin Prime Days, Prime Day Clusters  cuBerBruce  Puzzles  3  20141201 18:15 
disk died, prime work lost forever? where to put prime? on SSD or HDD?  emily  PrimeNet  3  20130301 05:49 
The 40th known Mersenne prime, 2209960111 is not PRIME!  illmanq  Miscellaneous Math  33  20040919 05:02 