mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Math

Reply
 
Thread Tools
Old 2019-04-10, 22:56   #1
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35·13 Posts
Default oeis A035050,A085427,A063983,A076806

I extended 035050 "smallest k such that k*2^n + 1 is prime" and 085427 "smallest k such that k*2^n - 1 is prime" up to n=10,000:

b035050.txt
b085427.txt

and 063983 "smallest k such that k*2^n +/- 1 are twin primes" up to 5,000:
b063983.txt

Last fiddled with by ATH on 2019-04-10 at 22:57
ATH is offline   Reply With Quote
Old 2019-04-15, 10:35   #2
robert44444uk
 
robert44444uk's Avatar
 
Jun 2003
Oxford, UK

7×277 Posts
Default

Hi ATH

How does the twin prime list relate to https://www.mersenneforum.org/showpo...0&postcount=38

Some of the values appear to be the same, but not all of them, especially the early ones. I must've made a mistake somewhere along the line in the generating program.

Beyond 5000 starts at post 111 of the same thread, I did some initial searching and then roger took over, getting up to 16000 at post 243.

We were doing this to find an alternative route to finding large twins. It was a pretty decent collaborative effort on Mersenneforum from about 2008 to 2013. We also looked at a predictive formula for first twins at https://www.mersenneforum.org/showthread.php?t=10063

I also remember looking at low k prime for the k*2^n+/- and this would have been at the same time, but I'm not sure where this is now on this site.

Last fiddled with by robert44444uk on 2019-04-15 at 10:52
robert44444uk is offline   Reply With Quote
Old 2019-04-18, 03:25   #3
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35·13 Posts
Default

I did not know about your search, but it is corresponding to 076806 "Minimal odd k such that k*2^n-1 and k*2^n+1 are twin primes" while I searched for minimal k (including even k's) 063983 "Least k such that k*2^n +/- 1 are twin primes".


The 2 other sequences also have an "odd k's only" version:
057778 "Least odd k such that k*2^n + 1 is prime"
126717 "Least odd k such that k*2^n-1 is prime"

Last fiddled with by ATH on 2019-04-18 at 03:31
ATH is offline   Reply With Quote
Old 2019-04-19, 02:27   #4
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35·13 Posts
Default

Quote:
Originally Posted by robert44444uk View Post
Hi ATH

How does the twin prime list relate to https://www.mersenneforum.org/showpo...0&postcount=38

Some of the values appear to be the same, but not all of them, especially the early ones. I must've made a mistake somewhere along the line in the generating program.

Beyond 5000 starts at post 111 of the same thread, I did some initial searching and then roger took over, getting up to 16000 at post 243.

We were doing this to find an alternative route to finding large twins. It was a pretty decent collaborative effort on Mersenneforum from about 2008 to 2013. We also looked at a predictive formula for first twins at https://www.mersenneforum.org/showthread.php?t=10063

I also remember looking at low k prime for the k*2^n+/- and this would have been at the same time, but I'm not sure where this is now on this site.
I collected all the results from the thread from k=1 to k=16,999. I tested them and found 10 errors:
Code:
470445*2^3670+1 has a small factor : 7 !!
32325705*2^6424+1 is not prime.  Proth RES64: 7A48F754F60C4135  Time : 17.073 ms.
15026757*2^6808+1 is not prime.  Proth RES64: 05EB3EF08C0895DF  Time : 18.904 ms.
55401783*2^7077+1 is not prime.  Proth RES64: 91AF6C396CCB095E  Time : 20.984 ms.
12004455*2^7989+1 is not prime.  Proth RES64: FAA7FCD7C4D69BC7  Time : 22.053 ms.
19939479*2^8366+1 is not prime.  Proth RES64: 654147697BBF1557  Time : 27.253 ms.
17000355*2^8367+1 has a small factor : 13 !!
36551361*2^8987+1 is not prime.  Proth RES64: 3301DF1440B81D38  Time : 30.436 ms.
6777645*2^10129+1 is not prime.  Proth RES64: 0E41D6C782A65B94  Time : 33.628 ms.
84029655*2^16632+1 is not prime.  Proth RES64: A6B8753284867C7F  Time : 81.115 ms.
I found the correct smallest odd k's for those 10:

Code:
5109753*2^3670+1 is prime! (1112 decimal digits)  Time : 7.078 ms.
57693873*2^6424+1 is prime! (1942 decimal digits)  Time : 15.641 ms.
32341743*2^6808+1 is prime! (2057 decimal digits)  Time : 17.911 ms.
82676571*2^7077+1 is prime! (2139 decimal digits)  Time : 19.356 ms.
34158009*2^7989+1 is prime! (2413 decimal digits)  Time : 22.567 ms.
53405475*2^8366+1 is prime! (2527 decimal digits)  Time : 24.876 ms.
19939479*2^8367+1 is prime! (2527 decimal digits)  Time : 23.020 ms.
44051151*2^8987+1 is prime! (2714 decimal digits)  Time : 29.804 ms.
35180031*2^10129+1 is prime! (3057 decimal digits)  Time : 57.868 ms.
181076235*2^16632+1 is prime! (5015 decimal digits)  Time : 92.955 ms.

5109753*2^3670-1 is prime! (1112 decimal digits)  Time : 17.561 ms.
57693873*2^6424-1 is prime! (1942 decimal digits)  Time : 23.883 ms.
32341743*2^6808-1 is prime! (2057 decimal digits)  Time : 26.614 ms.
82676571*2^7077-1 is prime! (2139 decimal digits)  Time : 28.684 ms.
34158009*2^7989-1 is prime! (2413 decimal digits)  Time : 29.528 ms.
53405475*2^8366-1 is prime! (2527 decimal digits)  Time : 32.877 ms.
19939479*2^8367-1 is prime! (2527 decimal digits)  Time : 30.934 ms.
44051151*2^8987-1 is prime! (2714 decimal digits)  Time : 35.129 ms.
35180031*2^10129-1 is prime! (3057 decimal digits)  Time : 47.675 ms.
181076235*2^16632-1 is prime! (5015 decimal digits)  Time : 91.761 ms.

I checked again and they are now all twin primes, attached is the file corresponding to the sequences on OEIS: 076806
Attached Files
File Type: txt b076806.txt (245.0 KB, 64 views)

Last fiddled with by ATH on 2019-04-19 at 18:04
ATH is offline   Reply With Quote
Old 2019-04-19, 02:30   #5
ATH
Einyen
 
ATH's Avatar
 
Dec 2003
Denmark

35·13 Posts
Default

Attached the 3 files corresponding to the 3 OEIS sequences mentioned in the first post.
Attached Files
File Type: txt b035050.txt (100.5 KB, 59 views)
File Type: txt b063983.txt (62.6 KB, 66 views)
File Type: txt b085427.txt (100.2 KB, 61 views)
ATH is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
OEIS - A057732 : 2^n + 3 T.Rex Miscellaneous Math 40 2015-09-15 14:01
OEIS - 2·A261539: (2^n+5)/3 , n even T.Rex Miscellaneous Math 38 2015-09-05 16:14
OEIS - A059242 : 2^n+5 , n odd T.Rex Miscellaneous Math 7 2015-08-28 18:04
my misunderstanding of the OEIS science_man_88 Miscellaneous Math 11 2011-05-18 15:04

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


Fri Jul 16 18:19:51 UTC 2021 up 49 days, 16:07, 1 user, load averages: 2.45, 2.53, 2.17

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.