On the Asymptotic Density of Fermat Pseudoprimes to a Fixed Base

Fermat’s little theorem provides a classical and widely used test for primality: if n is prime and gcd(a,n)=1, then a n−1≡1 (modn). Composite integers satisfying this congruence are called Fermat pseudoprimes to base a, and they represent a fundamental obstruction to Fermat-type primality tests. A classical result of Erdős shows that, for each fixed base a≥2, the set of such numbers has asymptotic density zero. In this note we give a short and elementary proof of this density-zero property for Fermat pseudoprimes, based on ideas of Erdős and Niven.

Authors

Institutions

Publication Details

Journal
American Mathematical Monthly
Published
2026-09-16
DOI
https://doi.org/10.1080/00029890.2026.2722582
Primary Topic
Analytic Number Theory Research
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

On the Asymptotic Density of Fermat Pseudoprimes to a Fixed Base

Slobodan Filipovski
American Mathematical Monthly
Analytic Number Theory Research
article

On the Asymptotic Density of Fermat Pseudoprimes to a Fixed Base

Slobodan Filipovski
article en

Abstract

Fermat’s little theorem provides a classical and widely used test for primality: if n is prime and gcd(a,n)=1, then a n−1≡1 (modn). Composite integers satisfying this congruence are called Fermat pseudoprimes to base a, and they represent a fundamental obstruction to Fermat-type primality tests. A classical result of Erdős shows that, for each fixed base a≥2, the set of such numbers has asymptotic density zero. In this note we give a short and elementary proof of this density-zero property for Fermat pseudoprimes, based on ideas of Erdős and Niven.

American Mathematical Monthly
University of Primorska (SI)
Javna Agencija za Raziskovalno Dejavnost RS
Openalex Percentile: Top 4%
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.