Source code is available upon request.
The sieve program may also be used to find and prove values of k for which the numbers of the relevant form are always composite. Please note that PSieve was designed as a theoretical tool, and while it may be used to sieve values of k and n for later testing, there are more efficient and effective ways to do that process. You will notice that Marin Mersenne is peering out at you from the background. The sieve is in many ways optimal for a particular k. This theorem has been implemented directly in the psieve program, which has several command line options allowing for constuction of sieves of various number types.