/- Copyright 2025 The Formal Conjectures Authors. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. -/ import FormalConjecturesUtil

Open questions about Fermat numbers

Reference: Wikipedia

namespace Fermat

Are Fermat numbers composite for all n > 4?

@[category research open, AMS 11] theorem declaration uses 'sorry'fermat_number_are_composite : answer(sorry) n > 4, ¬Prime n.fermatNumber := True n > 4, ¬Prime n.fermatNumber All goals completed! 🐙

Are there infinitely many Fermat primes?

@[category research open, AMS 11] theorem declaration uses 'sorry'infinite_fermat_primes : answer(sorry) Infinite {n : | Prime n.fermatNumber} := True Infinite {n | Prime n.fermatNumber} All goals completed! 🐙

Are there infinitely many composite Fermat numbers?

@[category research open, AMS 11] theorem declaration uses 'sorry'infinite_fermat_composite : answer(sorry) Infinite {n : | ¬Prime n.fermatNumber} := True Infinite {n | ¬Prime n.fermatNumber} All goals completed! 🐙

Are all Fermat numbers are square-free?

@[category research open, AMS 11] theorem declaration uses 'sorry'all_fermat_squarefree : answer(sorry) n : , Squarefree n.fermatNumber := True (n : ), Squarefree n.fermatNumber All goals completed! 🐙 end Fermat