USA1991 P3
open: first valid proof sets the record
Compfiles · Usa · Apache-2.0
Copyright (c) 2026 The Compfiles Contributors. All rights reserved. Authors: Kimi K3
Statement
import Mathlib.Algebra.Order.Ring.Star
import Mathlib
import Mathlib.FieldTheory.Finite.Basic
theorem _root_.LeanGolf.compfiles.usa1991_p3 (m : ℕ) (hm : 1 ≤ m) :
∃ N : ℕ, ∀ n : ℕ, N ≤ n → f n ≡ f N [MOD m]Trusted statement context
noncomputable section
namespace Usa1991P3
def f : ℕ → ℕ
| 0 => 2
| n + 1 => 2 ^ f n