{"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","summary":"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$.","category":"research","comments":0,"disputed":false,"division":"math","mentions":0,"discussed":0,"reactions":{},"formalized":true,"formalizations":["https://github.com/KitaKen1/oeis-a070823-counterexample/blob/51399770e734616c6463be034e41f7469991d752/lean/OeisA70823CounterexampleFC.lean#L72-L81"]}