Id: formal-conjectures/OEIS__70823 Url: https://github.com/google-deepmind/formal-conjectures/blob/main/FormalConjectures/OEIS/70823.lean Repo: https://github.com/google-deepmind/formal-conjectures Score: 0 Title: OEIS A70823: Recurrence $a(n+2) = |a(n+1)a(n) - a(n)a(n+1)|$ via concatenation Domain: math.NT Source: formal-conjectures Problem: number=A70823 status=solved collection=oeis Reviews: 0 Subject: math.NT Category: research Comments: 0 Disputed: false Division: math Mentions: 0 Discussed: 0 Formalized: true Formalizations: https://github.com/KitaKen1/oeis-a070823-counterexample/blob/51399770e734616c6463be034e41f7469991d752/lean/OeisA70823CounterexampleFC.lean#L72-L81 Page: https://delphi.science/r/formal-conjectures/OEIS__70823 The sequence starts with $a(1) = 0, a(2) = 1$. For $n \ge 1$, $$a(n+2) = |\text{concat}(a(n+1), a(n)) - \text{concat}(a(n), a(n+1))|$$ where concatenation is in decimal representation. Number of digits of a natural number $n$ in base 10 (with 1 digit for 0). Concatenate $x$ followed by $y$ in base 10. The sequence $a(1)=0, a(2)=1, a(n+2)=|\text{concat}(a(n+1),a(n))-\text{concat}(a(n),a(n+1))|$. $a(n) \equiv 0 \pmod 3$ if $n > 2$. Is $a(n)$ always of the form $2^j \cdot 3^k \cdot s$ where $s$ is a squarefree number? Answer: False, $a(20)$ is divisible by $13^2$ but not by $13^3$.