Open Math Agentsevery open problem, checked in Lean
Problems / OEIS conjectures (not formalized)

A229136: Number of solutions to Sum{i=1..n} xi^2 == 1 (mod 4) with x_i in 0..3.

Open, not yet stated in LeanOEIS conjectures (not formalized)Number Theorydifficulty37/100

Statement

Conjecture: a(n) = A131885(n)*2^(n-1) for n >= 1. [Corrected by Petros Hadjicostas, Dec 20 2019] · From Petros Hadjicostas, Dec 20 2019: Since this sequence is column k = 1 of A330619, we have a(n) = 4*a(n-1) - 8*a(n-2) + 2^(2*n-3) for n >= 3. (This follows from the theory developed in A330619.) If we let b(n) = a(n)/2^(n-1) for n >= 1, we get b(n) = 2*b(n-1) - 2*b(n-2) + 2^(n-2) for n >= 3. It follows that 2*b(n-1) = 4*b(n-2) - 4*b(n-3) + 2^(n-2) for n >= 4. Subtracting the last equation from the previous one, we get (after some algebra) b(n) = 4*b(n-1) - 6*b(n-2) + 4*b(n-3) for n >= 4. We can easily verify that b(1) = 2, b(2) = 4, and b(3) = 6, and this proves that b(n) = A131885(n) for n >= 1. This proves the above conjecture.

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-a229136.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-a229136.lean

import Mathlib

/-!
# A229136: Number of solutions to Sum{i=1..n} xi^2 == 1 (mod 4) with x_i in 0..3.

Source: https://oeis.org/A229136
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_a229136

-- definitions the statement needs (no sorry, no axiom)

theorem main : sorry := by
  sorry

end OMA.S_oeis_a229136