When do two binary strings have the same characteristic polynomial?
Statement
For a binary string , let be the matrix with on the diagonal and 's immediately above and below it:
Let be the number of distinct characteristic polynomials of as ranges over .
Computing the first fifteen terms gives
Reversing clearly preserves the characteristic polynomial. For , this is the only way two distinct strings can have the same characteristic polynomial.
The first exception occurs at . The strings
are not reverses, but both give
Questions.
• Is there a formula or asymptotic for ?
• Apart from reversal, when do two binary strings have the same characteristic polynomial?
Posed by Philip Weiss · co.combinatorics, linear-algebra, matrices, sp.spectral-theory
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/mo-514920.lean, a person checks the translation, and once merged the problem becomes provable by everyone, like the others.
Question text by its MathOverflow author (CC BY-SA); see the link. 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/mo-514920.lean
import Mathlib /-! # When do two binary strings have the same characteristic polynomial? Source: https://mathoverflow.net/questions/514920 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_mo_514920 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_mo_514920