![]() |
|
|
#23 | |
|
"Mark"
Apr 2003
Between here and the
143138 Posts |
Quote:
*edit* After some experimentation, I don't think the method I just mentioned is faster. For 2*b^b+/-1 from n=200000 to n=210000 I can sieve with kbbsieve to 1e7 in 83 seconds. There are 1466 terms remaining. Per term sieving to 1e9 with srsieve/sr1sieve takes about 20 seconds. Even if half of those terms are removed between 1e7 and 1e9, that gives at most 8300 seconds for kbbsieve to sieve that range to 1e9. It would take srsieve/sr1sieve at least 15,000 seconds. Last fiddled with by rogue on 2018-04-11 at 23:34 |
|
|
|
|
|
|
#24 | |
|
"Mark"
Apr 2003
Between here and the
11×577 Posts |
Quote:
I also realized today that I can remove some terms due to algebraic factorizations, but haven't coded that yet. Last fiddled with by rogue on 2018-04-11 at 23:37 |
|
|
|
|
|
|
#25 | |
|
Jun 2003
158210 Posts |
Quote:
|
|
|
|
|
|
|
#26 |
|
"Mark"
Apr 2003
Between here and the
11000110010112 Posts |
|
|
|
|
|
|
#27 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
23·3·5·72 Posts |
I think that I now understand how to add a form based upon your guide. I am going to try to create a
Once that is done I may extend it to more than two bases possibly with fixed n. I would imagine that the majority of the work will be in combining the different combinations of |
|
|
|
|
|
#28 | |
|
Feb 2017
Nowhere
4,643 Posts |
Quote:
Algebraic factors are a great idea. I had had it on my list of things to look at, but hadn't yet come up with any examples... |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Primes of the form (b+-1)*b^n+-1 and b^n+-(b+-1) | sweety439 | sweety439 | 162 | 2020-05-15 18:33 |
| Primes of the form n+-phi(n) | carpetpool | carpetpool | 3 | 2017-01-26 01:29 |
| Infinitely many primes of a form? | PawnProver44 | Homework Help | 1 | 2016-03-15 22:39 |
| Primes of the form a^(2^n)+b^(2^n) | YuL | Math | 21 | 2012-10-23 11:06 |
| Primes of the form 2.3^n+1 | Dougy | Math | 8 | 2009-09-03 02:44 |