Left to Solve
Problems / MathOverflow (not formalized)

$f(n) = \frac{n^2 + n + 4}{2}$, $g(f(n)) = f(g(n))$ such that $g(n)$ is an integer

Open, not yet stated in LeanMathOverflow (not formalized)Dynamical Systemsdifficulty55/100

Statement

Let be a strict positive integer and let's define an integer sequence :

so

etc.

Notice etc. and has no real fixpoint for real .

Now we want integer sequences such that grow faster than linear and

And fixpoints are not allowed :

A possible solution seems

and you can check that and the other conditions hold.

The sequence might not be unique and I assume no mistake has been made. But it is not so easy to see. (contradictions do not occur immediately but could happen for later values if one is not careful)

The sequence g resembles or equals this perhaps :

https://oeis.org/A034329

But it might not relate or be coincidence.

One of the ideas is that is just floor ; In other words is just …

Posed by mick · ds.dynamical-systems, inequalities, nonlinear-optimization, integer-sequences

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

import Mathlib

/-!
# $f(n) = \frac{n^2 + n + 4}{2}$, $g(f(n)) = f(g(n))$ such that $g(n)$ is an integer

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

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

theorem main : sorry := by
  sorry

end OMA.S_mo_449289