cksieve
========

cksieve is a specialised for a Carol (b^n+1)^2-2 and Kynea (b^n-1)^2-2 numbers

Command line options (-P, -n, -N, and -b are required for a new sieve and -P and -i are required to continue sieving):

 -b --base B
 -n --nmin N0
 -N --nmax N1          Sieve for factors of terms for n in the range N0 <= n <= N1
 -p --pmin P0
 -P --pmax P1          Sieve for factors p in the range P0 <= p <= P1
 -i --input FILE       Read sieve from ABC format file FILE.
 -o --output FILE      Write sieve to ABC format file FILE.
 -f --factors FILE     Append new factors to file FILE.
 -s --save TIME        Update output file every TIME (default 60) minutes.
 -z --lower-priority   Run at low priority. (-zz lower).
 -Z --raise-priority   Run at high priority. (-ZZ higher).
 -A --affinity N       Set affinity to CPU N.
 -q --quiet            Don't print found factors.
 -v --verbose          Print some extra messages.
 -h --help             Print this help.

The following limits apply:

  1 < k < 2^63.
  1 < b < 2^32.
  0 < n < 2^32.
  |c| = 1.
  b < p < 2^52 (or 2^62 for x86/x86-64).


If ckieve is interrupted (e.g. pressing ctrl-c) or terminated nicely
(e.g. by running: kill `pidof cksieve`) then any output files will be
updated before it finishes. Beware that this doesn't happen in Windows when
closing the cksieve window by clicking the close button, so press ctrl-c.
