FormalConjectures/OEIS/77408.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
10 declarations, 1 contain sorry, 0 declared as axioms
Trajectory of 103 under the Reverse and Add! operation in base 3
The sequence $a(n)$ is the trajectory of $103$ under the Reverse and Add! operation carried out in base $3$, written in base $10$. $a(0) = 103$, and $a(n+1) = a(n) + \text{rev}_3(a(n))$.
References:
Imports (1)
- def
OeisA77408.revBaseThe number whose base-$b$ digits are the reversal of $n$'s base-$b$ digits line 36 sourceSource documentation
The number whose base-$b$ digits are the reversal of $n$'s base-$b$ digits.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Nat.ofDigits,List.reverse,Nat.digits1 instances, coercions and auxiliary constants left out.
def revBase (b n : ℕ) : ℕ := …
- def
OeisA77408.IsBasePalindromeA natural number $n$ is a base-$b$ palindrome if its base-$b$ digits read the same forwards and backwards line 41 sourceSource documentation
A natural number $n$ is a base-$b$ palindrome if its base-$b$ digits read the same forwards and backwards.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
NatProof uses:
Eq, OeisA77408.revBasedef IsBasePalindrome (b n : ℕ) : Prop := …
- def
OeisA77408.aTrajectory of 103 under the Reverse and Add! line 45 sourceSource documentation
Trajectory of 103 under the Reverse and Add! operation in base 3.
standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Nat2 instances, coercions and auxiliary constants left out.
def a : ℕ → ℕ | 0 => 103 | n + 1 => a n + revBase 3 (a n) /-- Value of the sequence `a` at 0. -/ @[category test, AMS 11]
Mentions: OeisA77408.revBase, test, AMS
- theorem
OeisA77408.a_0Value of the sequenceaat 0 line 51 sourceSource documentation
Value of the sequence
aat 0.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.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 = 103 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.a_1Value of the sequenceaat 1 line 56 sourceSource documentation
Value of the sequence
aat 1.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.a,OfNat.ofNat2 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 = 230 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.a_2Value of the sequenceaat 2 line 61 sourceSource documentation
Value of the sequence
aat 2.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.a,OfNat.ofNat2 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 = 436 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.a_3Value of the sequenceaat 3 line 66 sourceSource documentation
Value of the sequence
aat 3.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.a,OfNat.ofNat2 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 = 776 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.a_4Value of the sequenceaat 4 line 71 sourceSource documentation
Value of the sequence
aat 4.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.a,OfNat.ofNat2 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 = 2424 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.a_5Value of the sequenceaat 5 line 76 sourceSource documentation
Value of the sequence
aat 5.standard axioms: Classical.choice, Quot.sound, propext what this means
Statement uses:
Eq,Nat, OeisA77408.a,OfNat.ofNat2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem a_5 : a 5 = 3856 := by …
Mentions: OeisA77408.a
- theorem
OeisA77408.conjecture$103$ is conjectured to be the smallest number such that the Reverse and Add! sorry line 83 sourceSource documentation
$103$ is conjectured to be the smallest number such that the Reverse and Add! algorithm in base $3$ does not lead to a palindrome. Its trajectory is conjectured to never reach a palindrome.
depends on sorry what this means
Statement uses:
Nat,Not, OeisA77408.IsBasePalindrome,OfNat.ofNat, OeisA77408.aProof uses:
sorryAx,Lean.Name,Bool.false,Lean.Name.num,Lean.Name.str,Lean.Name.anonymous2 instances, coercions and auxiliary constants left out.
Tactic trace: 1 steps
Open to load the checked before-and-after goal states.
theorem conjecture (n : ℕ) : ¬ IsBasePalindrome 3 (a n) := by …
Mentions: OeisA77408.IsBasePalindrome, OeisA77408.a