A107861: Number of distinct values taken by the sums of all subsets of the n-th roots of unity.
Statement
Note that a(6)=19, a(12)=19^2 and a(18)=19^3. Similarly, a(10)=211 and a(20)=211^2. For prime n, a(n)=2^n-1. For powers of 2, we have a(2^n)=3^(2^(n-1)). It appears that David W. Wilson's conjectured formula for A103314 may apply to this sequence also. Observe that due to symmetry, n divides a(n)-1.
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-a107861.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-a107861.lean
import Mathlib /-! # A107861: Number of distinct values taken by the sums of all subsets of the n-th roots of unity. Source: https://oeis.org/A107861 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_a107861 -- definitions the statement needs (no sorry, no axiom) theorem main : sorry := by sorry end OMA.S_oeis_a107861