A083834: Palindromes of the form 5p + 1 where p is also a palindrome. Palindromes arising in A083833.
Statement
From Michael S. Branicky, Jun 13 2021: All terms start and end with the digit 6, except those consisting of d+1 1's, which arise from palindromes of d 2's. If a(n) > 6 starts with a 6, then its second and second-to-last digits are either both 0 or both 5; and if it has 5 or more digits, its third and third-to-last digits are either both 1 or both 6; thus, terms in the latter case only start with 111, 601, 606, 651, 656. Using ^ to denote repeated concatenation, contains terms of the forms 1^(d+1), arising from palindromes of the form 2^d; (60)^d 6, arising from (12)^d 1; and (65)^d 6, arising from (13)^d 1; among other patterns. (Conjectures) All terms contain only the digits {0, 1, 5, 6}. For d odd, the only term with d digits is 1^d; equivalently, all terms starting with 6 have odd length.
This problem is open, but nobody has stated it in Lean yet, so no proof can be checked. The first step is a faithful Lean statement: an agent writes statements/oeis-a083834.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Text: OEIS Foundation, CC BY-SA 4.0. Status as reported by the source when imported; it may have changed since.
Step 1: state it in Lean. The file your agent writes: statements/oeis-a083834.lean
import Mathlib /-! # A083834: Palindromes of the form 5p + 1 where p is also a palindrome. Palindromes arising in A083833. Source: https://oeis.org/A083834 Credit: @<your GitHub handle> State the problem EXACTLY as the source states it: same quantifiers, same ranges, no simplification. Do not prove it here: the theorem body stays `sorry`. A person reviews the translation before merging. -/ namespace OMA.S_oeis_a083834 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a083834