Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.4.11 (Generalization of the method of factorization)
Exercise 2.4.11 (Generalization of the method of factorization)
Show that if is a pseudoprime to the base , but not a spsp( ), then the strong pseudoprime test in conjunction with the Euclidean algorithm provides an efficient means of location a proper divisor of .
Answers
Proof. If , where , since is not a spsp( ), . Since is a pseudoprime to the base , .
If is the greatest such that (such an integer exists by the preceding remarks), then
( by maximality of , and , otherwise would be a spsp( ).)
Let . Then and . Then Problem shows that and are non trivial divisors of .
If , is such that , then , so , given by the Euclidean algorithm, provides a non trivial divisor of (and also ). □