FormalConjectures/OEIS/109227.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
Conjectures associated with A109227
Binary strings that have 1's where primes occur, 0's elsewhere and every term ends with the $n$-th prime index.
Conjecture: $a(2)$ and $a(121)$ are primes. Are there any more?
References:
Imports (1)
- def
OeisA109227.aThe primary defining sequencealine 43 sourceSource documentation
The primary defining sequence
a. $a(n)$ is the natural number whose decimal digits are given by the binary string of length $p_n$ where the $k$-th digit is $1$ if $k$ is prime and $0$ otherwise, with leading zeros dropped.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
ite,Eq,OfNat.ofNat,Nat.nth,Nat.Prime,HSub.hSub,List,List.map,List.range,HAdd.hAdd,List.dropWhile,Decidable.decide,Nat.ofDigits,List.reverse8 instances, coercions and auxiliary constants left out.
noncomputable def a (n : ℕ) : ℕ := …
- theorem
OeisA109227.a_0Term theorems verifying the first few values of the sequence against the official OEIS b-file line 54 sourceSource documentation
Term theorems verifying the first few values of the sequence against the official OEIS b-file
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109227.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 = 0 := by …
Mentions: OeisA109227.a
- theorem
OeisA109227.a_1line 58 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109227.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.ofDigits,List.reverse,List.dropWhile,Decidable.decide,List.map,ite,Nat.Prime,List.range,HAdd.hAdd,Nat.nth,congrArg,Nat.nth_prime_zero_eq_two,of_decide_eq_true,Bool,Bool.true,Eq.refl7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109227.a_2line 64 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109227.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.ofDigits,List.reverse,List.dropWhile,Decidable.decide,List.map,ite,Nat.Prime,List.range,HAdd.hAdd,Nat.nth,congrArg,Nat.nth_prime_one_eq_three,of_decide_eq_true,Bool,Bool.true,Eq.refl7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109227.a_3line 70 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109227.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.ofDigits,List.reverse,List.dropWhile,Decidable.decide,List.map,ite,Nat.Prime,List.range,HAdd.hAdd,Nat.nth,congrArg,Nat.nth_prime_two_eq_five,of_decide_eq_true,Bool,Bool.true,Eq.refl7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109227.a_4line 76 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA109227.a,OfNat.ofNatProof uses:
id,Eq.mpr,Nat.ofDigits,List.reverse,List.dropWhile,Decidable.decide,List.map,ite,Nat.Prime,List.range,HAdd.hAdd,Nat.nth,congrArg,Nat.nth_prime_three_eq_seven,of_decide_eq_true,Bool,Bool.true,Eq.refl7 instances, coercions and auxiliary constants left out.
Tactic trace: 3 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA109227.conjectureConjecture: $a(2)$ and $a(121)$ are primes sorry line 85 sourceSource documentation
Conjecture: $a(2)$ and $a(121)$ are primes. Are there any more?
depends on sorry what this means
Statement uses:
Iff,True,Exists,Nat,And,GT.gt,OfNat.ofNat,Ne,Nat.Prime, OeisA109227.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous4 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) ↔ ∃ n > 0, n ≠ 2 ∧ n ≠ 121 ∧ (a n).Prime := by …Mentions: OeisA109227.a