FormalConjectures/OEIS/282779.lean
Explanation legend Lean4 Domain Explanation Language (L4DEL)
L4DEL explanations are a separate layer. They do not change the Lean source. Intuition is explanatory prose; numbered items are a reading path; sources link the wording back to evidence.
- L4DEL
- Lean4 Domain Explanation Language
Credit: The upstream authors and contributors retain credit for the project and mathematics. lean4-explainer only renders their pinned source and adds the separately disclosed explanation layer.
Project sources: Pinned project documentation, Formal Conjectures paper, arXiv v1
8 declarations, 1 contain sorry, 0 declared as axioms
Period of $p$-th powers modulo $n$
a: Period of cubes mod $n$. The $n$-th term $a(n)$ is the smallest positive integer $T$ such that $\forall k \in \mathbb{N}$, $(k+T)^3 \equiv k^3 \pmod n$.
The length of the minimal positive period of the sequence $k^p \pmod n$. $a_p(n) = \min \{ T \in \mathbb{N}^+ \mid \forall k \in \mathbb{N}, (k+T)^p \equiv k^p \pmod n \}$.
References:
- A282779
- arxiv/2605.22763 Advancing Mathematics Research with AI-Driven Formal Proof Search by George Tsoukalas et al.
Imports (1)
- def
OeisA282779.aPeriod of cubes mod $n$ line 47 sourceSource documentation
Period of cubes mod $n$. The $n$-th term $a(n)$ is the smallest positive integer $T$ such that $\forall k \in \mathbb{N}$, $(k+T)^3 \equiv k^3 \pmod n$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,InfSet.sInf,Set.ofPred,And,LT.lt,HMod.hMod,HPow.hPow,HAdd.hAdd12 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- def
OeisA282779.periodOfPowerModThe length of the minimal positive period of the sequence $k^p \pmod n$ line 57 sourceSource documentation
The length of the minimal positive period of the sequence $k^p \pmod n$. $a_p(n) = \min \{ T \in \mathbb{N}^+ \mid \forall k \in \mathbb{N}, (k+T)^p \equiv k^p \pmod n \}$.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,InfSet.sInf,Set.ofPred,And,LT.lt,HMod.hMod,HPow.hPow,HAdd.hAdd12 instances, coercions and auxiliary constants left out.
noncomputable def periodOfPowerMod (p n : ℕ) : ℕ := …
- theorem
OeisA282779.periodOfPowerMod_eqsorry line 72 sourcedepends on sorry what this means
Statement uses:
Nat,Nat.Prime,GT.gt,OfNat.ofNat,Eq, OeisA282779.periodOfPowerMod,ite,Dvd.dvd,HPow.hPow,HDiv.hDivProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous20 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA282779.a_1line 78 sourcedepends on sorry what this means
Statement uses:
Eq,Nat, OeisA282779.a,OfNat.ofNatProof uses: OeisA282779.periodOfPowerMod_eq,
of_decide_eq_true,Nat.Prime,id,Bool,Decidable.decide,Bool.true,Eq.refl,GT.gt5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA282779.a_2line 81 sourcedepends on sorry what this means
Statement uses:
Eq,Nat, OeisA282779.a,OfNat.ofNatProof uses: OeisA282779.periodOfPowerMod_eq,
of_decide_eq_true,Nat.Prime,id,Bool,Decidable.decide,Bool.true,Eq.refl,GT.gt5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA282779.a_3line 84 sourcedepends on sorry what this means
Statement uses:
Eq,Nat, OeisA282779.a,OfNat.ofNatProof uses: OeisA282779.periodOfPowerMod_eq,
of_decide_eq_true,Nat.Prime,id,Bool,Decidable.decide,Bool.true,Eq.refl,GT.gt5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA282779.a_4line 87 sourcedepends on sorry what this means
Statement uses:
Eq,Nat, OeisA282779.a,OfNat.ofNatProof uses: OeisA282779.periodOfPowerMod_eq,
of_decide_eq_true,Nat.Prime,id,Bool,Decidable.decide,Bool.true,Eq.refl,GT.gt5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- lemma
OeisA282779.a_5line 90 sourcedepends on sorry what this means
Statement uses:
Eq,Nat, OeisA282779.a,OfNat.ofNatProof uses: OeisA282779.periodOfPowerMod_eq,
of_decide_eq_true,Nat.Prime,id,Bool,Decidable.decide,Bool.true,Eq.refl,GT.gt5 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.