Sums of Cubes and Fourth Powers Modulo n, and Other Conjectures from the OEIS
We settle several conjectures recorded in the On-Line Encyclopedia of Integer Sequences (OEIS). The main ones concern sums of powers modulo n. Let Sm(n) be the number of solutions of x13 + ⋯ + xm3 ≡ 1 (mod n). For m ∈ {2, 3, 4} we prove that Sm(n) = nm−1 if and only if 3 ∤ φ(n). This proves both conjectures of M. Marcus in A254073 and his conjecture in A276919, together with its converse. The proof combines Hensel lifting, an exact count at powers of 3, and a short orbit argument showing that 3 | Sm(p) for every prime p ≡ 1 (mod 3). We also determine the least number a(n) of fourth powers in ℤ/nℤ whose sum is −1: a(n) = 15 if 16 | n, a(n) = 7 if n ≡ 8 (mod 16), and a(n) ≤ 4 otherwise. This proves the conjecture in A227784, whose first case contains a typo that we correct. Finally, we prove three further conjectures: the signed divisor sum Σd|k (−1)[d prime] d divides σ(k) exactly for k ∈ {1, 2, 3, 6, 14, 15, 35} (A367175); the n-th number whose last nonzero base-5 digit is 4 equals 4n if and only if the base-5 digits of n are all 0 or 1, and similarly in every base (A277548); and the number of equilateral triangles in the tetrahedral grid with n points per side that touch all four faces is congruent to 4(n − 1) modulo 12 (A334386). All main theorems have been formally verified in the Lean 4 proof assistant with the Mathlib library.
Authors
- Shounak Das
Institutions
- Indian Institute of Engineering Science and Technology, Shibpur (IN)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-29
- DOI
- https://doi.org/10.5281/zenodo.24635425
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint