Hostname: page-component-89b8bd64d-72crv Total loading time: 0 Render date: 2026-05-08T13:54:45.330Z Has data issue: false hasContentIssue false

Finding pseudoprimes

Published online by Cambridge University Press:  23 January 2015

G. J. O. Jameson*
Affiliation:
Dept. of Mathematics and Statistics, Lancaster University, Lancaster LA1 4YF e-mail:, g.jameson@lancaster.ac.uk
Get access

Extract

Recall that Fermat's ‘little theorem’ says that if p is prime and a is not a multiple of p, then ap − 1 ≡ 1 mod p.

This theorem gives a possible way to detect primes, or more exactly, non-primes: if for a certain a coprime to n, a− 1 is not congruent to 1 mod n, then, by the theorem, n is not prime. A lot of composite numbers can indeed be detected by this test, but there are some that evade it. Let us give ourselves some notation and terminology to discuss them.

Information

Type
Articles
Copyright
Copyright © The Mathematical Association 2011

Access options

Get access to the full version of this content by using one of the access options below. (Log in options will check for institutional or personal access. Content may require purchase if you do not have access.)

Article purchase

Temporarily unavailable