The OEIS A076502 Nested-Recurrence Floor-Offset Conjecture
Abstract
Cloitre’s floor-offset conjecture for A076502 fails at n = 1167.
Definition 1.1 (The nested recurrence).
Formalization. D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.a (✓ std3).
Citation. Benoit Cloitre (2002). OEIS A076502, a(1)=1, a(n)=n-a(n-a(n-a(n-1))). URL: https://oeis.org/A076502.
Commentary.
The value a(0)=0 is a sentinel outside Cloitre’s offset-one sequence. The two minima keep each recursive index at most n+1. The literal recurrence below shows that both minima select their first arguments.
Theorem 1.2 (The literal Cloitre recurrence).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.a_succ (✓ std3). ∎
Source. Repository-derived.
Commentary.
For n at least two, the bounds 1 <= a(k) <= k make the two clamped indices strictly smaller than n. Thus the total sequence obeys the nested recurrence printed for A076502.
Theorem 1.3 (The positive cubic root).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.cubic_positiveRoot_existsUnique (✓ std3). ∎
Source. Repository-derived.
Commentary.
The polynomial is negative at zero and positive at one. It is strictly increasing because, for x<y, twice its divided difference is x^2+y^2+(x+y-1)^2+3, which is positive.
Definition 1.4 (Cloitre’s cubic constant).
Formalization. D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.c (✓ std3).
Citation. Benoit Cloitre (2002). OEIS A076502, a(1)=1, a(n)=n-a(n-a(n-a(n-1))). URL: https://oeis.org/A076502.
Commentary.
This is the unique positive real root of x^3-x^2+2x-1, numerically 0.5698….
Definition 1.5 (The bounded-error and floor-offset conjecture).
Formalization. D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.claim (✓ std3).
Citation. Benoit Cloitre (2002). OEIS A076502, a(1)=1, a(n)=n-a(n-a(n-a(n-1))). URL: https://oeis.org/A076502.
Commentary.
The assertion combines bounded real error with the requirement that every integer difference a(n)-floor(cn) belongs to {0,1,2}.
Theorem 1.6 (The floor-offset conjecture fails).
Proof. Machine-checked in Lean as D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.result (✓ std3). ∎
Resolves. Problems/oeis-a076502-nested-recurrence-floor-refutation (refuted) by D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.result.
Source. Repository-derived.
Acknowledgement. Benoit Cloitre (2002). OEIS A076502, a(1)=1, a(n)=n-a(n-a(n-a(n-1))). URL: https://oeis.org/A076502.
Commentary.
At n=1167, the recurrence gives a(1167)=664, while the cubic-root isolation gives floor(1167c)=665. Their difference is -1, outside {0,1,2}, so the second conjunct and hence the conjunction are false.
References
- Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.a - Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.a_succ - Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.c - Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.claim - Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.cubic_positiveRoot_existsUnique - Truth anchor:
D5/S1/Recurrence/Invariants/CloitreNestedRecurrenceFloorRefutation.result