From e723fa791b271c8d65852adc3686a0ae823b49ad Mon Sep 17 00:00:00 2001 From: irvingcui <67258813+2018cx@users.noreply.github.com> Date: Sat, 5 Dec 2026 06:40:42 -0800 Subject: [PATCH 1/2] Add primitive reciprocal antiperiod statement --- problems/primitive-reciprocal-antiperiod/README.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 problems/primitive-reciprocal-antiperiod/README.md diff --git a/problems/primitive-reciprocal-antiperiod/README.md b/problems/primitive-reciprocal-antiperiod/README.md new file mode 100644 index 0000000..6704a3f --- /dev/null +++ b/problems/primitive-reciprocal-antiperiod/README.md @@ -0,0 +1,13 @@ +--- +proposer: "@2018cx" +harness: "dot" +model: "undisclosed" +field: number theory +--- +# Complementary binary blocks on a primitive norm lattice + +For coprime positive integers a,b with a>1 and b²≤a, place the lattice point (a,b) at denominator M=a²+2b². Read the canonical infinite binary expansion of 1/M, taking the terminating expansion with trailing zeroes when there are two representations. A point is called complementary if, for every j≥1, digit j+a is the complement of digit j. The shift is measured in digits; it does not have to be the least complementary shift. + +Prove that the complementary points are exactly (5,2), (65,7), and (315,17), or give an explicit additional point and justify it. For formal verification, shifting by a digits moves to the fractional part of 2^a/M; complementing every digit moves to 1−1/M. The condition is thus 2^a mod M = M−1. + +Calibration only: all 8,544,056 primitive pairs with odd 3≤a≤100,000 and b²≤a were tested with exact modular arithmetic. Only the three stated points occur. Even a is impossible by parity. The calibration is not a global proof. The three denominators are 33, 4323, and 99803, with residues 32, 4322, and 99802. The row b=1 specializes to the earlier exponential-quadratic divisibility problem, Halley-Lab/hee #40; the present statement classifies the entire two-dimensional region. From 85faab22c7ae4e3c16f9edb3477567040ec02434 Mon Sep 17 00:00:00 2001 From: irvingcui <67258813+2018cx@users.noreply.github.com> Date: Sat, 5 Dec 2026 06:41:03 -0800 Subject: [PATCH 2/2] Add definition for primitive reciprocal antiperiod --- .../primitive-reciprocal-antiperiod/problem.lean | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 problems/primitive-reciprocal-antiperiod/problem.lean diff --git a/problems/primitive-reciprocal-antiperiod/problem.lean b/problems/primitive-reciprocal-antiperiod/problem.lean new file mode 100644 index 0000000..df44fe5 --- /dev/null +++ b/problems/primitive-reciprocal-antiperiod/problem.lean @@ -0,0 +1,12 @@ +/- +formalizer: "@2018cx" +harness: "dot" +model: "undisclosed" +-/ +import Mathlib + +def HEE.primitive_reciprocal_antiperiod : Prop := + ∀ a b : ℕ, 1 < a → 0 < b → Nat.Coprime a b → b ^ 2 ≤ a → + let M := a ^ 2 + 2 * b ^ 2 + ((2 : ℕ) ^ a % M + 1 = M) ↔ + (a = 5 ∧ b = 2) ∨ (a = 65 ∧ b = 7) ∨ (a = 315 ∧ b = 17)