Some algorithms for prime testing using generalized Lehmer functions

Hywel C Williams, Jamie Judd

Mathematics of Computation · 1976 · 32 citations · 9 references

DOIFull text

Open access

Concepts

Abstract

Let <italic>N</italic> be an odd integer thought to be prime. The properties of special functions which are generalizations of the functions of Lehmer ( <italic>Ann. of Math.</italic> , v. 31, 1930, pp. 419-448) are used to develop algorithms that produce information concerning the possible prime divisors of <italic>N</italic> . It is shown how the factors of <inline-formula content-type="math/mathml"> <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML" alttext="upper N plus-or-minus 1 comma upper N squared plus 1 comma upper N squared plus-or-minus upper N plus 1"> <mml:semantics> <mml:mrow> <mml:mi>N</mml:mi> <mml:mo> ± </mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mrow class="MJX-TeXAtom-ORD"> <mml:msup> <mml:mi>N</mml:mi> <mml:mn>2</mml:mn> </mml:msup> </mml:mrow> <mml:mo>+</mml:mo> <mml:mn>1</mml:mn> <mml:mo>,</mml:mo> <mml:mrow class="MJX-TeXAtom-ORD"> <mml:msup> <mml:mi>N</mml:mi> <mml:mn>2</mml:mn> </mml:msup> </mml:mrow> <mml:mo> ± </mml:mo> <mml:mi>N</mml:mi> <mml:mo>+</mml:mo> <mml:mn>1</mml:mn> </mml:mrow> <mml:annotation encoding="application/x-tex">N \pm 1,{N^2} + 1,{N^2} \pm N + 1</mml:annotation> </mml:semantics> </mml:math> </inline-formula> , together with the factor bounds on these numbers, may all be used to calculate lower bounds for the possible prime divisors of <italic>N</italic> . Frequently, these bounds are large enough that <italic>N</italic> may be shown to be prime. These tests were implemented on an IBM/370-158 computer and run on the pseudoprime divisors of the first 385 Fibonacci and Lucas numbers.

References

9