Skip to content
m·amathatlas
ExploreAboutOpen problemsCited authorsMy libraryFeedback
Sign in
FRENES
Loading views…Recent views only, across all languages. Vercel history is unavailable for this page. Repeat visits in the same tab are grouped for 30 minutes.
ShareLinkedInXFacebookWhatsApp
← All open problems
Unanswered question

Does nnn and (n−1)/2(n-1)/2(n−1)/2 being strong probable primes imply nnn prime?

Number theory

Imported on November 28, 2026

The forum classified this question as unanswered when collected. This does not certify an open research problem; check the answers and revision history at the source.

Read the question with its definitions and background below. The source provides the full formulation and further discussion; the glossary and Wikipedia links offer additional reading aids.

Problem statement

A strong probable prime is a positive integer mmm either 222, or such that when expressed as m=d  2sm=d\;2^sm=d2s with ddd odd, it holds that 2d≡1(modm)2^d\equiv1\pmod m2d≡1(modm), or that 2(d  2r)≡−1(modm)2^{(d\;2^r)}\equiv-1\pmod m2(d2r)≡−1(modm) for some rrr with 0≤r<s0\le r<s0≤r<s. All primes are strong probable primes, and most strong probable primes are prime; exceptions are the strong pseudoprimes (OEIS A001262).

If both nnn and m=(n−1)/2m=(n-1)/2m=(n−1)/2 are strong probable primes, does it follow that nnn is prime?

If mmm is a strong probable prime other than 222, then mmm is odd, and n=2m+1n=2m+1n=2m+1 being a strong probable prime reduces to 2m≡±1(modn)2^m\equiv\pm1\pmod n2m≡±1(modn).

If m=(n−1)/2m=(n-1)/2m=(n−1)/2 is prime and 2m≡±1(modn)2^m\equiv\pm1\pmod n2m≡±1(modn), then nnn is prime (proof by Fedor Petrov).

Therefore, any exception nnn to the question's proposition has (n−1)/2(n-1)/2(n−1)/2 among strong pseudoprimes (OEIS A001262).

The table of Fermat pseudoprimes below 2642^{64}264 compiled by Jan Feitsma and William Galway allows to quickly establish that the proposition holds for the 542622542622542622 values of nnn less than 2652^{65}265 such that nnn and (n−1)/2(n-1)/2(n−1)/2 are strong probable primes, but (n−1)/2(n-1)/2(n−1)/2 is composite (OEIS A301643, currently under review).

^(It is not surprising that the above is inconclusive: strong pseudoprimes (OEIS A001262) are a small subset of Euler pseudoprimes (OEIS A006970), and a similar exploration for the 950622950622950622 values of nnn less than 2652^{65}265 such that nnn and (n−1)/2(n-1)/2(n−1)/2 pass the Euler test, but (n−1)/2(n-1)/2(n−1)/2 is composite, shows there are only two composites nnn: (2⋅423+1)/3=283⋅P12(2\cdot4^{23}+1)/3=283\cdot P_{12}(2⋅423+1)/3=283⋅P12​ and (2⋅429+1)/3=2833⋅37171⋅P10(2\cdot4^{29}+1)/3=2833\cdot 37171\cdot P_{10}(2⋅429+1)/3=2833⋅37171⋅P10​.)

Statement and context adapted from MathOverflow · fgrieu

CC BY-SA 3.0 · Formatting adapted; mathematical formulas preserved · Source history

A few useful definitions

Prime number
An integer greater than 1 whose only positive divisors are 1 and itself. Examples include 2, 3, 5 and 7.

Topics : nt.number-theory · prime-numbers

Authors listed by the source : fgrieu

Sources and original status

  • MathOverflow Status in source : unanswered at collection

Last activity on the question : March 26, 2018

Coverage, sources and method

This count measures imported entries, including distinct variants. It is not a count of all open mathematical questions worldwide. One entry may belong to several fields and sources.

This directory is neither exhaustive nor updated in real time. “Reported open” describes the source classification observed at import; imported entries have not each undergone independent mathematical verification. The 32 explained entries were reviewed separately.

Formal Conjectures: only “research open” statements with no reported formal proof are retained; their tag is checked in a pinned repository revision. Variants remain distinct. A “sorry” placeholder is not sufficient to establish open status.

Erdős: solved or independent problems and entries with a Lean solution are excluded, including “open (Lean)”. Exact matches to the main Formal Conjectures statements are merged.

Open Problem Garden: the open index is checked against the solved index; spam, identified clones and some outdated statuses are excluded. Statements and definition context are attributed to their original pages; formulas are preserved and the content remains under the GFDL. Recognized duplicates across sources are merged; this does not resolve every mathematical equivalence.

OEIS: direct extraction of conjectural comments and formulas, one entry per sequence, excluding mentioned resolutions. MathOverflow and Math Stack Exchange: questions classified as unanswered by their API, excluding closed posts and non-research categories. They remain distinct from problems reported open. This is a partial, dated collection; every entry credits its authors and license.

Documented exclusions account for recent announcements and conflicting statuses. A stronger variant or a special case can remain open after a different statement is settled.

Attribution: The Formal Conjectures Authors; teorth/erdosproblems and contributors; Open Problem Garden and contributors. Each source retains its license.

  • Formal Conjectures · 1,924 · Apache-2.0 / CC-BY-4.0
  • Erdős Problems (teorth) · 622 · Apache-2.0
  • Open Problem Garden · 404 · GFDL (source content); only title/category/link metadata imported
  • OEIS · 18,857 · CC BY-SA 4.0
  • MathOverflow · 19,035 · CC BY-SA (version on each entry)
  • Mathematics Stack Exchange · 35 · CC BY-SA (version on each entry)
Report a development or correction
mathatlas

An independent atlas to understand, read, and question research.

The papers present claimed results at different stages of verification.
NewsletterShare feedbackAbout Data and privacy
Created by Sonny Mupfuni