FormalConjectures/OEIS/231201.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
Sum of two numbers with prime conditions
Number of ways to write $n = x+y$, for $x,y > 0$ such that $2^x + y$ is prime.
Zhi-Wei Sun has offered a $1000 prize for the first proof.
References:
- A231201
- Zhi-Wei Sun, "Table of n, a(n) for n = 1..10000", "Write n = k + m with 2^k + m prime", a message to Number Theory List, Nov. 16, 2013, "On a^n+ bn modulo m", arXiv:1312.1166 [math.NT], 2013-2014, "Problems on combinatorial properties of primes", arXiv:1402.6641 [math.NT], 2014-2015.
Imports (1)
Imported by 1 file
- def
OeisA231201.AThe predicate thatncan be written as $x + y$ with $x,y >0$ such that $2^x + y$ is prime line 41 sourceSource documentation
The predicate that
ncan be written as $x + y$ with $x,y >0$ such that $2^x + y$ is primestandard axioms: propext what this means
Statement uses:
NatProof uses:
Exists,And,LT.lt,OfNat.ofNat,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow8 instances, coercions and auxiliary constants left out.
def A (n : ℕ) : Prop := …
- theorem
OeisA231201.a_2line 45 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.natPow_one,Bool.trueand 3 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.a_3line 49 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0and 4 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.a_4line 53 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.natPow_one,Bool.trueand 3 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.a_5line 57 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit0and 4 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.a_8line 61 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.bit1and 5 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.a_53line 65 sourcestandard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses: OeisA231201.A,
OfNat.ofNat,NatProof uses:
Exists.intro,Exists,And,LT.lt,Eq,HAdd.hAdd,Nat.Prime,HPow.hPow,And.intro,Mathlib.Meta.NormNum.isNat_lt_true,Mathlib.Meta.NormNum.isNat_ofNat,Eq.refl,Bool,Bool.false,Mathlib.Meta.NormNum.isNat_eq_true,Mathlib.Meta.NormNum.isNat_add,Mathlib.Meta.NormNum.isNat_prime_2,Mathlib.Meta.NormNum.isNat_pow,Mathlib.Meta.NormNum.IsNatPowT.run,Mathlib.Meta.NormNum.IsNatPowT.transand 10 more20 instances, coercions and auxiliary constants left out.
Tactic trace: 4 steps
Open to load the checked before-and-after goal states.
- theorem
OeisA231201.conjectureThe conjecture for sequence A231201: for any $n > 1$, there exist $x, y > 0$ such that $n = x + y$ and $2^x + y$ is prime sorry line 70 sourceSource documentation
The conjecture for sequence A231201: for any $n > 1$, there exist $x, y > 0$ such that $n = x + y$ and $2^x + y$ is prime.
depends on sorry what this means
Statement uses:
Nat,LT.lt,OfNat.ofNat, OeisA231201.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 (n : ℕ) (hn : 1 < n) : A n := by …
Mentions: OeisA231201.A