![]() |
|
|
#1 |
|
"NOT A TROLL"
Mar 2016
California
110001012 Posts |
Is there a sieve program I can use to find primes of the form k*2^6012+1 (of course I want to use this for larger examples, too).
I typed in the following expression in an input file: k*2^6012+1 ----------------------------- And for SrSieve: > srsieve_xx.exe -P 1e10 -k 1 -K 1e4 mysieve.txt and did not sieve k. Is there some NewPgen format or other program I can use to sieve k values? Thanks, that would be helpful. |
|
|
|
|
|
#2 | |
|
"Forget I exist"
Jul 2009
Dumbassville
100000110000002 Posts |
Quote:
6012 = 0 mod 2 so k*2^6012+1 is k+1 mod 3 6012 = 0 mod 4 so ... is k+1 mod 5 6012 = 0 mod 6 so ... is k+1 mod 7 6012 = 2 mod 10 so ... is 4*k+1 mod 11 6012 = 0 mod 12 so ... is k+1 mod 13 6012 = 12 mod 16 so ... is k+1 mod 17 ... Last fiddled with by science_man_88 on 2016-05-06 at 21:54 |
|
|
|
|
|
|
#3 |
|
Just call me Henry
"David"
Sep 2007
Cambridge (GMT/BST)
10110111111102 Posts |
Newpgen is probably a good choice for this search.
|
|
|
|
|
|
#4 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224318 Posts |
srsieve/sr1sieve is supposed to be faster, though. newpgen's strength is elsewhere (in many other modes).
One needs to read the help file (or the output of the program run without parameters or with -h); it is well known to be decidedly not 'rocket surgery' to run sr*sieve. |
|
|
|
|
|
#5 |
|
Jun 2003
2·2,543 Posts |
|
|
|
|
|
|
#6 |
|
"Serge"
Mar 2008
Phi(4,2^7658614+1)/2
224318 Posts |
Ah, right, brainfart on my part. NewPGen it is for this form, right-o!
|
|
|
|
|
|
#7 |
|
Dec 2011
After milion nines:)
1,451 Posts |
This is sieve file for our forum user PawnProver44 in requested form. Since LLR time for this sequnece is measured in milliseconds ( 80-110 ms on AVX) you will find your own prime very fast.
But since ( reading last messages and post on this forum) you will not know how to process this file, I strongly suggest to admins to make forum only for you. And here is image so you can make sieve by yourself http://s32.postimg.org/drcxg5ao5/Clipboard02.jpg Last fiddled with by pepi37 on 2016-05-07 at 13:48 |
|
|
|
|
|
#8 |
|
"James"
May 2016
EU-StZ-BGN
1 Posts |
Some of the PSieve(K*2N+ and/or - 1) programs,based on Geoffrey Reynolds' GPL TPSieve source code:
PSieve Source - for factors of numbers of the form K*2N+ or - 1 CUDA- a version for use with nVIDIA GPUs PSieveOpenCL - a version for use with ATI/AMD GPUs TR PSieve-for finding twin primes of the same form |
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| The best work for my CPU | MacMagnus | Information & Answers | 57 | 2013-11-22 16:27 |
| How to calculate work/effort for PRP work? | James Heinrich | PrimeNet | 0 | 2011-06-28 19:29 |
| No Work | Pilgrim | Information & Answers | 1 | 2008-01-31 18:53 |
| It seems to work, but why ? | T.Rex | Math | 15 | 2005-10-15 10:38 |
| work to do... | guido72 | Software | 2 | 2002-09-26 15:47 |