You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

求证:n²+n+p对n∈[0,p-2]为素数等价于4p-1是Heegner数

Euler's Prime-Generating Polynomial and Heegner Numbers: A Proof Equivalence

Great question! This is a beautiful, well-known connection between two classic number theory topics—prime-generating polynomials and class field theory via Heegner numbers. Let’s break down the equivalence clearly:

Core Equivalence

For all integers n ∈ [0, p-2], the polynomial n² + n + p yields only prime numbers if and only if 4p - 1 is a Heegner number.

A Heegner number is defined as a positive integer d where the integer ring of the number field ℚ(i√d) has class number 1 (meaning every ideal in the ring is principal—a key property of "structurally simple" number fields).

Key Examples

Let’s walk through the cases you referenced to make this concrete:

  • Euler’s Classic Case: When p = 41, 4p - 1 = 163—one of the most famous Heegner numbers. The polynomial n² + n + 41 produces primes for every n from 0 to 39 (since p-2 = 39), a result that’s fascinated mathematicians for centuries.
  • Trivial/Vacuous Truth Cases: For the small Heegner numbers 3, 7, 11:
    • 4p - 1 = 3 → p = 1: The interval [0, p-2] = [0, -1] is empty, so the condition holds vacuously (there are no n values to test).
    • 4p - 1 = 7 → p = 2: Only n=0 is in the interval, and 0² + 0 + 2 = 2 (a prime).
    • 4p - 1 = 11 → p = 3: n=0 gives 3 (prime), n=1 gives 1+1+3=5 (prime)—both are valid.
  • Non-Trivial Non-Euler Cases: The other Heegner numbers 19, 43, 67 correspond to p=5, 11, 17 respectively:
    • p=5: n ∈ [0,3] gives values 5,7,11,17 (all primes).
    • p=11: n ∈ [0,9] yields 11,13,17,23,31,41,53,67,83,101—every single one is prime.
    • p=17: All values from n=0 to n=15 are primes too.

Quick Heegner Number Context

Heegner numbers are extremely rare—there are only 9 total: 1, 2, 3, 7, 11, 19, 43, 67, 163. Excluding 1 (since it would make p=0.5, not an integer), every remaining Heegner number maps exactly to a prime p that satisfies the polynomial condition, and vice versa.

内容的提问来源于stack exchange,提问作者MT_

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.19 09:07:02