原题
对任意 N,存在 n>N,使 n 和 n+1 都是 powerful 数。
来源:S. W. Golomb, Powerful numbers, Amer. Math. Monthly 77 (1970)(按一般资料填写,没有逐条核对原文)。中文陈述由本项目改写,以来源为准。
第一轮的提示(Claude 写的):Start with n=8. If n and n+1 are powerful then so are m=4n(n+1) and m+1=(2n+1)^2. Induct on N.
第 2 轮的方向(Claude 写的):
def Pw (n : ℕ) : Prop := ∀ p : ℕ, p.Prime → p ∣ n → p ^ 2 ∣ n 1. lemma Pw_mul: Pw a → Pw b → Pw (a*b), using (Nat.Prime.dvd_mul hp).1 and Dvd.dvd.mul_right / Dvd.dvd.mul_left. 2. lemma Pw_sq: Pw (a^2): p ∣ a^2 gives p ∣ a (hp.dvd_of_dvd_pow), then pow_dvd_pow_of_dvd h 2. 3. Pw 8: p ∣ 2^3 gives p ∣ 2, so p = 2 via (Nat.prime_dvd_prime_iff_eq hp Nat.prime_two).1; then norm_num. 4. Induct on N. Base n = 8; Pw 9 is Pw_sq with a = 3. Step: from n use m = 2^2*(n*(n+1)); m+1 = (2*n+1)^2 by ring; m > N+1 by nlinarith.
Lean 陈述
∀ N : ℕ, ∃ n > N, (∀ p : ℕ, p.Prime → p ∣ n → p ^ 2 ∣ n) ∧ (∀ p : ℕ, p.Prime → p ∣ n + 1 → p ^ 2 ∣ n + 1)
证明
def Pw (n : ℕ) : Prop := ∀ p : ℕ, p.Prime → p ∣ n → p ^ 2 ∣ n
lemma Pw_mul {a b : ℕ} (ha : Pw a) (hb : Pw b) : Pw (a * b) := by
intro p hp hdvd
rcases (Nat.Prime.dvd_mul hp).1 hdvd with h | h
· have h2 := ha p hp h
exact Dvd.dvd.mul_right h2 b
· have h2 := hb p hp h
exact Dvd.dvd.mul_left h2 a
lemma Pw_sq (a : ℕ) : Pw (a ^ 2) := by
intro p hp hdvd
have hpa : p ∣ a := hp.dvd_of_dvd_pow hdvd
exact pow_dvd_pow_of_dvd hpa 2
lemma Pw_eight : Pw 8 := by
have h8 : (8 : ℕ) = 2 ^ 3 := by norm_num
rw [h8]
intro p hp hdvd
have hp2 : p ∣ 2 := hp.dvd_of_dvd_pow hdvd
have hpeq : p = 2 := (Nat.prime_dvd_prime_iff_eq hp Nat.prime_two).1 hp2
subst hpeq
norm_num
theorem solution : FSpec.Target := by
unfold FSpec.Target
intro N
induction N with
| zero =>
refine ⟨8, by norm_num, ?_, ?_⟩
· exact Pw_eight
· have h9 : (8 + 1 : ℕ) = 3 ^ 2 := by norm_num
rw [h9]
exact Pw_sq 3
| succ N ih =>
obtain ⟨n, hnN, hn, hn1⟩ := ih
refine ⟨4 * (n * (n + 1)), ?_, ?_, ?_⟩
· nlinarith
· have h1 : Pw (2 ^ 2) := Pw_sq 2
have h2 : Pw (n * (n + 1)) := Pw_mul hn hn1
have h := Pw_mul h1 h2
have heq : 4 * (n * (n + 1)) = 2 ^ 2 * (n * (n + 1)) := by norm_num
rw [heq]
exact h
· have heq : 4 * (n * (n + 1)) + 1 = (2 * n + 1) ^ 2 := by ring
rw [heq]
exact Pw_sq (2 * n + 1)
检查记录
| 查现状 | 按关键词查了本机 Mathlib,按文件名查了 lefttosolve 的证明库,没找到同样的结果。没找到不等于没人做过。 |
| 陈述探测 | 简单策略证不了,也否不掉(正常) |
| 陈述初查 | DeepSeek:通过。VERDICT: FAITHFUL | Matches quantifiers and prime-square divisibility condition for both n and n+1. |
| 有限搜索 | 不适用 |
| 证明尝试 | DeepSeek 写的证明通过了 Lean 检查,陈述已由独立 agent 核对(第 2 轮;检查 4 次) |
| 用量 | 6 次调用,16,867 token |
复核
| 2026-11-29T21:05:04Z | 独立 Claude agent(Sonnet,只看英文题意和 Lean 陈述):final_statement → ok。6 条盲测中判为忠于原题。盲测混了 2 条改弱的陈述,都被查出。没有人工审稿。 |
重跑
需要项目存档里的程序,这个网站上没有。
cd 数学猜想工厂 python3 factory/verify.py # 重查所有保存的证明,不花 token python3 factory/controls.py known # 会调用模型;对照必须先全部通过 python3 factory/run_known.py # 做完的阶段会跳过 python3 factory/build_site.py
AI 和人各做了什么
AI:Claude 选题、写 Lean 陈述和证明思路、写检查和搜索程序;DeepSeek 初查陈述、尝试证明,通过的题再由另一个 Claude agent 核对陈述。程序:查现状、有限搜索、Lean 检查。
人:项目负责人提出目标并定规则,没有审过这道题的数学内容。
局限
这是已知结果,不是新结果,也不算解决开放问题。查现状只看了几个来源,搜不到不等于没人解决。DeepSeek 的初查不能代替独立的陈述核对。失败只说明这一次尝试没有成功。
版本和更正
| 2026-11-29T20:43:33Z | probe:ok |
| 2026-11-29T20:43:37Z | faith:ok |
| 2026-11-29T20:44:22Z | attempt:fail |
| 2026-11-29T20:59:01Z | attempt:lean_ok |