Left to Solve
Problems / MathOverflow (not formalized)

The recurrence relation $x_{n+1}=x_{n}+x_{n-1}+c\,(x_{n},\,x_{n-1})$

Open, not yet stated in LeanMathOverflow (not formalized)Number Theorydifficulty55/100

Statement

I'm trying to study the behaviour of the recurrence relation where is the gcd of and .

If you obtain a Fibonacci-like recurrence relation.

If you obtain the following sequence representable in closed form as

• if n is even

• if n is odd and greater than 1

• if n=1

The given recurrence relation is connected to those proposed on MathStackExchange I ask if there is a way to predict the behaviour of similar recurrence relations.

Posed by Augusto Santi · nt.number-theory, sequences-and-series

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

import Mathlib

/-!
# The recurrence relation $x_{n+1}=x_{n}+x_{n-1}+c\,(x_{n},\,x_{n-1})$

Source: https://mathoverflow.net/questions/412802
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_412802

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

theorem main : sorry := by
  sorry

end OMA.S_mo_412802