FormalConjectures/OEIS/119563.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
7 declarations, 1 contain sorry, 0 declared as axioms
Sum of Fermat number and Mersenne number minus 1: $2^{2^n} + 2^n - 1$
Define $F(n) = 2^{2^n} + 1$ (the $n$-th Fermat number) and $M(n) = 2^n - 1$ (the $n$-th Mersenne number). Then $a(n) = F(n) + M(n) - 1 = 2^{2^n} + 2^n - 1$.
References:
Imports (1)
- def
OeisA119563.a$a(n) = 2^{2^n} + 2^n - 1$ line 34 sourceSource documentation
$a(n) = 2^{2^n} + 2^n - 1$.
standard axioms: propext what this means
Statement uses:
NatProof uses:
HSub.hSub,HAdd.hAdd,HPow.hPow,OfNat.ofNat9 instances, coercions and auxiliary constants left out.
def a (n : ℕ) : ℕ := 2 ^ (2 ^ n) + 2 ^ n - 1 …
- theorem
OeisA119563.a_0Value of the sequenceaat 0 line 38 sourceSource documentation
Value of the sequence
aat 0.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA119563.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_0 : a 0 = 2 := by rfl …
Mentions: OeisA119563.a
- theorem
OeisA119563.a_1Value of the sequenceaat 1 line 42 sourceSource documentation
Value of the sequence
aat 1.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA119563.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_1 : a 1 = 5 := by rfl …
Mentions: OeisA119563.a
- theorem
OeisA119563.a_2Value of the sequenceaat 2 line 46 sourceSource documentation
Value of the sequence
aat 2.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA119563.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_2 : a 2 = 19 := by rfl …
Mentions: OeisA119563.a
- theorem
OeisA119563.a_3Value of the sequenceaat 3 line 50 sourceSource documentation
Value of the sequence
aat 3.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA119563.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_3 : a 3 = 263 := by rfl …
Mentions: OeisA119563.a
- theorem
OeisA119563.a_4Value of the sequenceaat 4 line 54 sourceSource documentation
Value of the sequence
aat 4.standard axioms: propext what this means
Statement uses:
Eq,Nat, OeisA119563.a,OfNat.ofNatProof uses:
Eq.refl2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_4 : a 4 = 65551 := by rfl …
Mentions: OeisA119563.a
- theorem
OeisA119563.conjectureThe first 5 entries are primes sorry line 59 sourceSource documentation
The first 5 entries are primes. Are there infinitely many primes in this sequence?
depends on sorry what this means
Statement uses:
Iff,True,Set.Infinite,Nat,Set.ofPred,Nat.Prime, OeisA119563.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous,OfNat.ofNat1 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture : answer(sorry) ↔ Set.Infinite {n : ℕ | (a n).Prime} := by …Mentions: OeisA119563.a