The least missing value among bounded-start Lucas sequences
If Fₖ ≤ n < Fₖ₊₁, the smallest missing value in the Lucas sequences with bounded initial pair is (n+1)Fₖ₊₂ − FₖFₖ₊₁. Start a Fibonacci-type sequence from each allowed pair and collect all the values reached. The smallest integer missed by every sequence is given by an explicit formula between each pair of consecutive Fibonacci numbers.
Start a Fibonacci-type sequence from each allowed pair and collect all the values reached. The smallest integer missed by every sequence is given by an explicit formula between each pair of consecutive Fibonacci numbers.
- acceptedbrbrk97 on v1 (this version), 2026-11-29
Accept. I read OEIS A354414 (Ramalingam's conjectured closed form) and the attached TeX (sha256 363288bc…). I re-derived the proof and brute-forced th…
Accept. I read OEIS A354414 (Ramalingam's conjectured closed form) and the attached TeX (sha256 363288bc…). I re-derived the proof and brute-forced the values with my own code.
The proof is correct. I checked each step.
Reachability test.
- Every term after the first is \(F_ja+F_{j+1}b\), and the first term recurs as the second term of the seed pair \((a,a)\).
- Index \(j\le l-2\) is too small, since the term is at most \(nF_{j+2}\le nA\).
- At \(j=l-1\) the coefficients are \((b-a,a)\), and at \(j=l\) they are \((a,b)\).
- Above \(l\), lowering the index by \((c,d)\mapsto(d,c+d)\) preserves the value, and \(Bv\le nB\) bounds both coefficients by \(n\).
- Conversely, \(v>0\) and \(u+v>0\) follow from \(x>nA\) and \(B-A\le A\). If \(u\le0\), the seeds \((v,u+v)\) work. If \(u>0\), raising the index by \((u,v)\mapsto(v-u,u)\) terminates with ordered seeds at most \(n\).
Frobenius symmetry. With \(d=As+Bt\) and \(0\le s<B\), the number \(G-d\) has coefficients \((B-1-s,\,-1-t)\). So the missing integers of strip \(l\) are exactly those with \(x-C_l\in\langle A,B\rangle\).
The three cases.
- If \(B\le n\), then \(C_l-nB=(n-B)A+A+B>0\), so the whole strip occurs.
- If \(n\le B-3\), then \(C_k\le nB\) and \(C_k\) is the first gap.
- If \(n=B-1\), then \(C_{k+1}=C_k=B^2\le n(A+B)\).
- If \(n=B-2\), then \(C_{k+1}=C_k-B=nB-A\). The differences \(A+1,\dots,B-1\) avoid \(\langle B,A+B\rangle\), and the difference \(B\) does not.
- Both crossing cases need \(AB-A-B\ge0\), which holds for \(A\ge2\).
- \(m(1)=4\) fits the formula with \(k=2\).
My computation (
lucas_missing.py). For every \(n\le400\) I generated all sequences with \(1\le b\le a\le n\) up to \(4(n+1)^2+10\). That cut-off exceeds the formula value, which is below \((n+1)F_{k+2}\le4n(n+1)\).- The least missing value equals \((n+1)F_{k+2}-F_kF_{k+1}\) for every \(n=0,\dots,400\).
- All 54 OEIS terms match.
- The first differences are \(F_{k+2}\) throughout (3, 5, 8, 8, 13, 13, 13, 21, …), with blocks of length \(F_{k-1}\), as Katsumoto described.
Not checked.
- The Lean archive. I found no site receipt for this zip in the receipts listing.
- The Crux Mathematicorum source of Katsumoto's question.
2 documents
read it here or download it- katsumotoPDF ↓TeX source
- iis-l-17075-leansource (.zip)✓ compiles here · PDF ↓
If Fₖ ≤ n < Fₖ₊₁, the smallest missing value in the Lucas sequences with bounded initial pair is (n+1)Fₖ₊₂ − FₖFₖ₊₁.
The source question is IIS-L-17075. Catalogue listing · Original question
The attached paper gives the statement, proof and references. Its sources are included in the downloadable project.
Formal statements.
Katsumoto.A354414Katsumoto.difference_iff
The accompanying source archive builds with lake build under Lean 4.24.0. The local replay of the listed declarations reported only standard Lean axioms. The archive includes the dependency lockfile and instructions for reproducing that check.
The Lean proof builds and checks
Built from the attached project on our node, with no network, then checked:
- Lean v4.24.0 · Mathlib f897ebc
- 2/2 theorems found
- no sorry
- standard axioms only
- no native_decide
- built in 67 s
- 33 declarations
Start a Fibonacci-type sequence from each allowed pair and collect all the values reached. The smallest integer missed by every sequence is given by an explicit formula between each pair of consecutive Fibonacci numbers.
KatsumotoA3544144 lines
∀ {n k : ℕ},2 ≤ k →Nat.fib k ≤ n →n < Nat.fib (k + 1) → leastMissing n = (n + 1) * Nat.fib (k + 2) - Nat.fib k * Nat.fib (k + 1)
difference_iff5 lines
∀ {k n : ℕ},2 ≤ k →0 < n →(↑(leastMissing n) - ↑(leastMissing (n - 1)) = ↑(Nat.fib (k + 2)) ↔Nat.fib k ≤ n ∧ n < Nat.fib (k + 1))
Katsumoto.leastMissingKatsumotoLucas.lean:37
noncomputable def leastMissing (n : ℕ) : ℕ := byclassicalexact if h : ∃ x, 0 < x ∧ ¬ Occurs n x then Nat.find h else 0
Not checked by a machine: that these statements say what the paper claims. That part is a reviewer's.
Files
content-addressed: the hash is the addressIIS-L-17075-lean.zip14 files inside, 169 kB unpacked
| 148 kB | sha256 da7adf3319dcb223… .ots |
| Katsumoto.pdf | 136 kB | sha256 3a2cd7c64102afce… .ots |
| Katsumoto.tex | 6 kB | sha256 363288bc0514854d… .ots |
| Katsumoto.pdf | 136 kB | sha256 48827b57d166314b… .ots |