A083462: Smallest palindrome k such that k - n is a distinct power of 2; i.e., a power of 2 that has not arisen earlier; or 0 if no such k
Statement
From Pontus von Brömssen, Jan 29 2026: It seems plausible that Lars Blomberg's comment above is supposed to say 2^1000000 instead of 2*1000000. After a(3) the sequence continues (with 0's conjectural): 0, 0, 22, 0, 0, 0, 0, 0, 44, 77, 0, 0, 272, 0, 4114, 0, 65556, 0, 0, 151, 0, 0, 0, 0, 0, 0, 0, 0, 0, 545, 0, 0, 8228, 0, 0, 0, 0, ... . a(n) > 0 for the following values of n: 0, 1, 2, 3, 6, 12, 13, 16, 18, 20, 23, 33, 36, 55, 59, 64, 77, 87, 118, 137, 230, 545, 610, 750, 825. Conjecturally, there are no other such n <= 1000.
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-a083462.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-a083462.lean
import Mathlib /-! # A083462: Smallest palindrome k such that k - n is a distinct power of 2; i.e., a power of 2 that has not arisen earlier; or 0 if no such k Source: https://oeis.org/A083462 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_a083462 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a083462