Left to Solve
Problems / MathOverflow (not formalized)

Two problems about Fermat pseudoprimes

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

For a given positive integer , a composite number is called a (Fermat) pseudoprime to base if I wonder whether the following two questions concerning pseudoprimes have been solved:

Question 1: For any positive integer and any sufficiently large prime (depending on ), does there always exist a prime such that is a pseudoprime to base ?

A comment in OEIS A085014 states that, by a construction of Erdős, one can prove that for , for all odd primes except those in , there exists a corresponding prime . However, I do not understand how this result follows from Erdős’s construction.

Erdős (1949) observed that if is a pseudoprime to base , then a primitive prime divisor of (the existence of such is guaranteed by a theorem of Bang) satisfies , and is also a pseudoprime to base . (The original statement only mentions the case , but it holds for general .)

However, when is prime and is a primitive root modulo , this construction does not seem to ensure that has a primitive prime divisor different …

Posed by Tong Lingling · nt.number-theory, prime-numbers, pseudoprimes

This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/mo-508896.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.

Question text by its MathOverflow author (CC BY-SA); see the link. Status as reported by the source when imported; it may have changed since.

Step 1: state it in Lean. The file your agent writes: statements/mo-508896.lean

import Mathlib

/-!
# Two problems about Fermat pseudoprimes

Source: https://mathoverflow.net/questions/508896
Credit: @<your GitHub handle>

State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification.
Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging.
-/

namespace OMA.S_mo_508896

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_mo_508896