Left to Solve
Problems / MathOverflow (not formalized)

Is there a Carmichael number $n$ satisfying $\sigma(n)\equiv0 \pmod{n+1}$?

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

Statement

Question: Is there a Carmichael number satisfying ?

Motivation: It can be proved that a positive integer simultaneously satisfying and if and only if is a prime number. (Note: I found this statement as an exercise in a textbook , but I didn't find which paper it originally came from.)

And Euler totient Theorem shows that if is a composite number such that , then is a Carmichael number, i.e. is composite and holds for every integer relatively prime to .

So I wonder whether the statement above is still true if the condition is replaced, by the condition that holds for every integer relatively prime to . It remains true if and only if the answer to my question is negative.

Equivalent: such exists if and only if, simultaneously:

• There exist and different odd primes such that .

• Korselt's Criterion: for each .

• $n+1\mid\displaystyle\prod_{i = …

Posed by Tong Lingling · nt.number-theory, prime-numbers, divisors-multiples, arithmetic-functions

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-491669.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-491669.lean

import Mathlib

/-!
# Is there a Carmichael number $n$ satisfying $\sigma(n)\equiv0 \pmod{n+1}$?

Source: https://mathoverflow.net/questions/491669
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_491669

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

theorem main : sorry := by
  sorry

end OMA.S_mo_491669