Translated unit sensitivity, Sierpiński, Riesel and Brier numbers
DefinitionLucknerPhilpott2026_DefsDefinitions used by Luckner and Philpott (2026).
- is composite if and is not prime.
- For , : append zeros to and replace the unit digit by .
- A positive integer is -translated unit sensitive (Definition 3) if for every digit with , the number is composite. For this is unit sensitivity (Definition 2).
- An odd is a Sierpiński number if is composite for all , a Riesel number if is composite for all , and a Brier number if it is both.
Formalization Note translate uses natural-number subtraction, which is exact here because .
import Mathlib.Data.Nat.Prime.Defs
import Mathlib.Algebra.Ring.Parity
namespace LucknerPhilpott2026
/-- `N` is composite: `N > 1` and `N` is not prime. -/
def IsComposite (N : ℕ) : Prop := 1 < N ∧ ¬ N.Prime
/-- Append `d` zeros to `n` (multiply by `10^d`) and replace the unit digit by `c`. -/
def translate (d c n : ℕ) : ℕ := n * 10 ^ d - (n * 10 ^ d) % 10 + c
/-- Definition 3 (Luckner–Philpott 2026): the positive integer `n` is `d`-translated unit
sensitive if appending `d` zeros to `n` and changing the unit digit to any digit `c ∈ {0,…,9}`
gives a composite number, whenever the result is not `n` itself. For `d = 0` this is unit
sensitivity (Definition 2). -/
def IsTranslatedUnitSensitive (d n : ℕ) : Prop :=
0 < n ∧ ∀ c : ℕ, c < 10 → translate d c n ≠ n → IsComposite (translate d c n)
/-- A Sierpiński number: an odd `k` with `k·2^n + 1` composite for every `n ≥ 0`. -/
def IsSierpinski (k : ℕ) : Prop := Odd k ∧ ∀ n : ℕ, IsComposite (k * 2 ^ n + 1)
/-- A Riesel number: an odd `k` with `k·2^n − 1` composite for every `n ≥ 0`. -/
def IsRiesel (k : ℕ) : Prop := Odd k ∧ ∀ n : ℕ, IsComposite (k * 2 ^ n - 1)
/-- A Brier number: both a Sierpiński number and a Riesel number. -/
def IsBrier (k : ℕ) : Prop := IsSierpinski k ∧ IsRiesel k
end LucknerPhilpott2026
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Read-back: definitions file LucknerPhilpott2026_Defs. The file introduces six definitions about natural numbers; every variable ranges over . It contains no theorems.
-
Composite. holds iff and is not prime. Thus and are not composite. "Prime" is the standard notion (so primes are ).
-
Translation. , written here , is the natural number
The subtraction is truncated natural-number subtraction, but it never truncates because . For , , hence . For , , i.e. with its last decimal digit removed and replaced by (when ). The definition itself places no restriction on : for the result is simply the sum above. For , .
- Translated unit sensitivity. holds iff and, for every natural with ,
Consequences of the literal definition:
- for and , , so the premise always holds and all ten numbers , , must be composite;
- for the premise fails exactly for , and the remaining nine last-digit replacements must be composite;
- for and , ; taking would require to be composite, so no satisfies the case ;
- whenever , the digits give multiples of or larger than , automatically composite; the substantive content concerns (an observation derived from the definition).
-
Sierpiński. holds iff is odd and, for every natural (including ), is composite. The case requires composite, which excludes .
-
Riesel. holds iff is odd and, for every natural (including ), is composite. The subtraction is natural-number subtraction; as is odd, and nothing truncates. The case requires composite, which excludes (value ) and (value ).
-
Brier. holds iff is both Sierpiński and Riesel.
No positivity or size condition on is imposed in items 4 to 6 beyond oddness, and none on in items 2 and 3 (so is allowed).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.