Skip to content

feat(ErdosProblems/418): state the Odd Noncototient Conjecture#4361

Open
Sanexxxx777 wants to merge 1 commit into
google-deepmind:mainfrom
Sanexxxx777:erdos-418-odd-noncototient
Open

feat(ErdosProblems/418): state the Odd Noncototient Conjecture#4361
Sanexxxx777 wants to merge 1 commit into
google-deepmind:mainfrom
Sanexxxx777:erdos-418-odd-noncototient

Conversation

@Sanexxxx777

Copy link
Copy Markdown
Contributor

Summary

Closes #2249.

Adds the Odd Noncototient Conjecture — every non-cototient is even, equivalently every odd natural number is of the form $n - \phi(n)$ — as a variant of Erdős 418.

I stated it inside ErdosProblems/418.lean rather than as a new file because 418 already defines the non-cototient set { n - n.totient | n }ᶜ and already contains erdos_418.variants.conditional, which derives the odd case from a strengthening of Goldbach. The new erdos_418.variants.odd_noncototient is precisely the unconditional form of that conditional variant, so keeping them together (and reusing the existing definition) follows the "state a problem in one place" convention. Happy to move it to Wikipedia/ with a pointer if you'd prefer, since #2249 is tagged wikipedia.

Changes

  • erdos_418.variants.odd_noncototient (category research open): { (n - n.totient : ℕ) | n }ᶜ ⊆ { k | Even k }.
  • erdos_418.variants.seven_mem_cototient (category test): a proven sanity check that 7 = 15 - φ(15) is a cototient (⟨15, by decide⟩).
  • Added a Wikipedia: Noncototient reference to the module docstring.

Verification

lake --wfail build FormalConjectures.ErdosProblems.«418» succeeds. The only sorrys are the research statements (as expected for benchmark statements); the test lemma is fully proved.

Adds the unconditional Odd Noncototient Conjecture (every non-cototient is
even, equivalently every odd number is of the form n - φ(n)) as a variant of
Erdős 418, complementing the existing conditional variant that derives the odd
case from a strengthening of Goldbach. Adds a sanity-check test that
7 = 15 - φ(15) is a cototient.

Verified: lake --wfail build succeeds on the 418 module.

Closes google-deepmind#2249.
@github-actions github-actions Bot added the erdos-problems Erdős Problems label Jul 1, 2026
@github-actions

github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown

👋 This is an automated welcome message. 🤖
Thanks for the contributions!

A few friendly reminders while the review gets started:

  • Please take a look at the style guidelines,
    especially the conventions for references, categories, AMS tags, and answer(sorry).
  • You can manage some PR labels by leaving a comment with +label-name or -label-name; for example, +awaiting-author or -awaiting-author.
  • This repository is mainly for formalised statements. Proofs longer than about 25-50 lines are usually out of scope; longer proofs are welcome to be included/linked via the formal_proof mechanism.

Thanks again for helping improve Formal Conjectures.

@Smetalo

Smetalo commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Should these changes also be added to ‎_FormalConjectures/Wikipedia/Noncototient.lean_, just like it was done in #2276?

@Sanexxxx777

Copy link
Copy Markdown
Contributor Author

Good question — I looked into it. It turns out #2276 was closed without being merged (the CLA was never signed), so FormalConjectures/Wikipedia/Noncototient.lean doesn't actually exist on main — there's nothing to mirror. Since Erdős 418 is the noncototient problem, this statement lives naturally right next to the existing conditional (Goldbach-based) variant, so I've kept a single copy here rather than restating the same open conjecture in two files; this also addresses the still-open #2249. That said, if the maintainers would prefer the canonical home to be FormalConjectures/Wikipedia/Noncototient.lean, I'm happy to relocate it there instead of duplicating — just let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

erdos-problems Erdős Problems

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Odd Noncototient Conjecture

2 participants