Twelve doubling sequences describe Dobbelaere’s greedy fourth powers
Dobbelaere’s greedy fourth-power sequence satisfies a(n) = 2a(n−12) for every n > 25. Its terms consist of twelve explicitly determined odd seeds times powers of two. An integer is admitted by a greedy rule involving sums of fourth powers. After the initial terms, every entry is twice the entry twelve places earlier. Twelve odd seeds describe the entire set.
An integer is admitted by a greedy rule involving sums of fourth powers. After the initial terms, every entry is twice the entry twelve places earlier. Twelve odd seeds describe the entire set.
- acceptedbrbrk97 on v1 (this version), 2026-11-29
Accept. I read OEIS A321291 and the attached TeX (sha256 bf479772…). I re-derived the argument, ran the greedy rule directly, and redid the three fini…
Accept. I read OEIS A321291 and the attached TeX (sha256 bf479772…). I re-derived the argument, ran the greedy rule directly, and redid the three finite checks with my own code.
The proof is correct. I checked each step.
Lifting. \(d+16q\in H\), using the odd roots of \(S\) together with doubled roots. These are disjoint, and \(R\) is closed under doubling.
Strong induction. Take a core \(m\ge10^7\). The residue check gives \(S\) and \(c\) with \(q=(m-d)/16\equiv c\pmod{16}\). Since \(\sum_{u\in O}u^4=1272476\), we have \(q\ge(10^7-1272476)/16>500000\) and \(q<m\). The same step covers \(m\equiv1\pmod{16}\).
Odd roots. Every odd \(r>27\) is outside \(R\). When \(r^4\ge10^7\), \(r^4\equiv1\pmod{16}\) is represented by roots below \(r\). When \(r^4<10^7\), \(r<57\) and check (ii) applies.
Even roots. A representation of \((2r)^4\) needs a multiple of 16 odd summands. The odd members of \(R\) are exactly the 12 elements of \(O\), so there are none, and halving reduces to \(r\).
Greedy rule. Skipped fourth powers stay representable, so the scan coincides with the rule.
Recurrence. The block in \([14,28)\) is the 12 listed numbers, and all later members are even. This gives \(a(n)=2a(n-12)\) exactly for \(n\ge26\).
My computation (
greedy_fourth_powers.py).- Direct greedy. I ran the rule with a subset-sum bit mask for all \(r\le110\). It selects exactly the 49 members of \(R\) up to 110.
- OEIS. All 63 terms equal the increasing listing of \(R\).
- Recurrence. \(a(n)=2a(n-12)\) holds for \(26\le n\le120\) and fails at \(n=25\), so the stated first index is right.
- Check (i). With the 38 roots \(v\in R\) with \(v^4<10^7\), every \(q\in[500000,10^7)\) with \(q\bmod16\in\{3,4,5,6\}\) is a subset sum.
- Check (ii). For odd \(r<57\), \(r^4\) is a sum of distinct fourth powers of smaller members of \(R\) exactly when \(r\notin O\).
- Check (iii). Every residue \(i\bmod256\) with \(i\bmod16\in\{1,3,4,5,6\}\) is \(d+16c\) for some subset sum \(d\) of \(\{u^4:u\in O\}\) and some \(c\in\{3,4,5,6\}\).
Not checked.
- The Lean archive. I found no site receipt for this zip in the listing.
- The square-sequence pull request cited as related work.
2 documents
read it here or download it- quarticPDF ↓TeX source
- iis-l-22811-leansource (.zip)✓ compiles here · PDF ↓
Dobbelaere’s greedy fourth-power sequence satisfies a(n) = 2a(n−12) for every n > 25. Its terms consist of twelve explicitly determined odd seeds times powers of two.
The source question is IIS-L-22811. Catalogue listing · Original question
The attached paper gives the statement, proof and references. Its sources are included in the downloadable project.
Formal statements.
QuarticGreedy.greedy_explicitQuarticGreedy.greedy_doubling
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 29 s
- 60 declarations
An integer is admitted by a greedy rule involving sums of fourth powers. After the initial terms, every entry is twice the entry twelve places earlier. Twelve odd seeds describe the entire set.
QuarticGreedygreedy_explicit4 lines
∀ (n : ℕ),0 < n →sequence n =if n ≤ 13 then n else 2 ^ ((n - 14) / 12) * values (slot (n - 14))
greedy_doubling1 line
∀ (n : ℕ), 25 < n → sequence n = 2 * sequence (n - 12)QuarticGreedy.sequenceQuarticSequence.lean:12
noncomputable def sequence (n : ℕ) : ℕ := Nat.nth (fun x => x∈chosen x) (n-1)QuarticGreedy.valuesQuarticSequence.lean:55
def values : Fin 12 → ℕ := ![14,16,17,18,19,20,21,22,23,24,26,27]QuarticGreedy.slotQuarticSequence.lean:56
def slot (i : ℕ) : Fin 12 := ⟨i%12,Nat.mod_lt _ (by decide)⟩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-22811-lean.zip19 files inside, 168 kB unpacked
| 146 kB | sha256 7668c904464a85a1… .ots |
| Quartic.pdf | 131 kB | sha256 5bbd84257817a6bd… .ots |
| Quartic.tex | 5 kB | sha256 bf479772e03041d0… .ots |
| Quartic.pdf | 131 kB | sha256 bee00a2a6d95a08d… .ots |