Currently there may be errors shown on top of a page, because of a missing Wiki update (PHP version and extension DPL3).
Navigation
Topics Help • Register • News • History • How to • Sequences statistics • Template prototypes

Difference between revisions of "Gcwsieve"

From Prime-Wiki
Jump to: navigation, search
(new)
 
(shorter)
Line 28: Line 28:
 
==Continuing an existing sieve file==
 
==Continuing an existing sieve file==
 
To continue the search call this (from example above):
 
To continue the search call this (from example above):
 +
 
<code>
 
<code>
gcwsieve.exe -s- -b1024 -n2 -N5000 -P2000000000 -igcw_b1024.pfgw
+
gcwsieve.exe -P2000000000 -igcw_b1024.pfgw
 
</code>
 
</code>
  
 
Parameters:
 
Parameters:
 +
*<code>-P2000000000</code>: the new sieve-depth is given
 
*<code>-igcw_b1024.pfgw</code>: the standard output from first run is used as input file
 
*<code>-igcw_b1024.pfgw</code>: the standard output from first run is used as input file
*A new sieve depth is used, too.
 
  
 
==See also==
 
==See also==

Revision as of 08:52, 28 March 2023

Description

gcwsieve (and gcwsievecl) are used to create sieve files for a (General) Woodall prime or (General) Cullen prime sequence.

Those software was developed by Geoffrey Reynolds and both part of the package Mtsieve.

Commands overview

Help with gcwsieve -h.

Installation

Create a folder containing the sieve program.

Creating a new sieve

Example:

gcwsieve.exe -s- -b1024 -n2 -N5000 -P1000000000

Parameters:

  • -s-: using Woodall (Cullen: -s+)
  • -b1024: using base 1024
  • -n2: lowest n-value
  • -N5000: highest n-value
  • -P1000000000: highest prime to search for

After running the file "gcw_b1024.pfgw" in ABC fileformat will be created.

Continuing an existing sieve file

To continue the search call this (from example above):

gcwsieve.exe -P2000000000 -igcw_b1024.pfgw

Parameters:

  • -P2000000000: the new sieve-depth is given
  • -igcw_b1024.pfgw: the standard output from first run is used as input file

See also

Sieving program