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

LLR testing a range of sequences

From Prime-Wiki
Jump to: navigation, search

Purpose

Testing a range of prime sequences for primality using LLR.

Needed

  • cllr.exe (or cllr64.exe)
  • the sieving result files

Example for WIN

Testing a range 3•2n-1 to 20•19n-1 (in general (b+1)bn-1) create a batch file named "run.bat" with:

set /a base=2
:next
cllr64 -a%base% t17_b%base%.prp

if %base% EQU 20 goto ends
set /a base=%base%+1
goto next
:ends
  • -a%base%: create an own resultfile for each base

Call "run" in the command line interface in the directory with "cllr64.exe" and the sieve files "t17_bxx.prp".

Outputs

  • llr00xx.ini: *.ini files from cllr64 calls, not needed
  • lresu00xx.txt: result files with residues, timings, primes
  • t17_bxx.res: if a prime was found, it will be listed here

See also