The Nine Heegner Numbers

{1, 2, 3, 7, 11, 19, 43, 67, 163}

An imaginary quadratic field Q(sqrt(-d)) has class number 1 when its integers factor uniquely -- just like ordinary integers. There are exactly nine such values of d. Conjectured by Gauss, proved by Stark and Heegner in 1967. The first five are {1, 2, 3, 7, 11} -- the primes of Z/2,310 except 5. The remaining four are generated by 3 through the Cunningham map c(n) = 2n+1.

Why 5 is Excluded

Every prime of Z/2,310 except 5 is a Heegner number. Why? Because h(-5) = 2. The field Q(sqrt(-5)) has two ideal classes -- factorization is ambiguous. 5 is also the only prime of the ring that splits in Z[i]: 5 = (2+i)(2-i). Two ideal classes, two Gaussian factors -- the pattern is consistent.

Cunningham Generation

Heegner-Cunningham Theorem (PROVED)
All 9 Heegner numbers are either in {1, 2, 3, 7, 11} or are Cunningham images of products involving 3. c(9)=19, c(21)=43, c(33)=67, c(81)=163. The prime 3 generates every Heegner number beyond the base set.
p3*pc(3*p)Heegner?
137YES
2613NO (h(-52)=2)
3919YES
51531NO (h(-31)=3)
72143YES
113367YES

The failures have small prime class numbers: h(-52)=2, h(-31)=3. Exactly 2 and 5 are the elements whose Cunningham lift fails -- the same two primes excluded by different Heegner mechanisms.

Powers of 3

Powers of 3 through the Cunningham map: c(3^n) = 2*3^n + 1.

nc(3^n)Heegner?
1c(3) = 7YES
2c(9) = 19YES
3c(27) = 55NO (5*11)
4c(81) = 163YES (!)
5c(243) = 487NO (prime, not Heegner)

Heegner at n in {1, 2, 4}. The class numbers stay 11-smooth (factors only from {2,3,5,7,11}) for n=0..8 (9 consecutive). First non-smooth failure at n=9. At n=7: c(3^7) = 4375 = 5^4 * 7.

The p^2 - 6 Pattern

Subtract 6 (= 2*3) from each odd prime squared:

3^2 - 6
9 - 6 = 3
Heegner.
5^2 - 6
25 - 6 = 19
Heegner.
7^2 - 6
49 - 6 = 43
Heegner.
11^2 - 6
121 - 6 = 115 = 5*23
Not Heegner. 6 too small.

Three consecutive odd primes squared minus 6 yield three consecutive Heegner primes: 19, 43, 67.

Eisenstein Norms

All 5 splitting Heegner d's are Eisenstein norms N(a,b) = a^2 + ab + b^2 with small-prime coordinates:

Heegner dEisenstein normPair
71 + (-2) + 4(1, 2)
194 + (-6) + 9(2, 3)
431 + (-6) + 36(1, 6)
674 + (-14) + 49(2, 7)
1639 + (-33) + 121(3, 11)

The Eisenstein lattice Z[omega] (where omega = e^{2*pi*i/3}) reflects the prime chain. Inert: {2, 11} (both 2 mod 3). Ramified: 3. Unit: 1.

The E3 Representation Theorem

E3 Representation (PROVED)
All 7 representable Heegner numbers satisfy E3(a,b) = a^2 - ab + b^2 = h. Discriminants disc = 4h - 3a^2 have sqrt(disc) in {2, 3, 5, 8, 13, 16, 25}. b-values walk the chain: 1, 2, 3, 5, 7, 9, 14. Non-representable: {2, 11} -- both are 2 mod 3.
h(a, b)sqrt(disc)
1(0, 1)2
3(1, 2)3
7(1, 3)5
19(2, 5)8 (= 2^3)
43(1, 7)13
67(2, 9)16 (= 2^4)
163(3, 14)25 (= 5^2)

163 Triangle: E3(3, 14) = E3(11, 14) = 163. Both share b-value 14 (= 2*7). 14 - 3 = 11. 3 + 11 = 14. Also: E3(3, 11) = 97. 163 - 97 = 66 = 2*3*11.

Discriminant Exclusion

Discriminant Exclusion (PROVED)
7 and 11 never appear as sqrt(disc) in minimal E3 representations. Two mechanisms: 13-blocking (7 at a=1 needs h=13, not Heegner) and power shadowing (7 at a=3 gives h=19, but disc=64=2^6 shadows it). Sum of 7 sqrt(disc) values: 72 = 8*9 (= 2^3 * 3^2).
3 + powers of 4
Heegner numbers from 3
3+4=7, 3+16=19, 3+64=67. Spacing = 4, 16, 64 (= 2^2, 2^4, 2^6). Powers of 4 generate three Heegner numbers.
CRT(163)
(3, 1, 13, 16, 9) in Z/210
The largest Heegner number has 13 in its mod-5 channel.

Explore: Heegner Checker

Enter d. Is Q(sqrt(-d)) a unique factorization domain? The nine Heegner numbers are {1,2,3,7,11,19,43,67,163} -- the primes of Z/2,310 (except 5) plus four extensions generated by 3 via c(n) = 2n+1.

Check discriminant d:

Try: 1, 2, 3, 7, 11 (all Heegner), 5 (excluded! h(-5)=2), 19 (c(9)=19), 163 (c(81)=163), 23 (h(-23)=3).

Contrast Table

Heegner numbersNine special values for class number 1, a curiosity in algebraic number theoryFirst five = {1,2,3,7,11}. Remaining four = generated by 3 through the Cunningham map c(n)=2n+1. 5 excluded because h(-5)=2: the field has two ideal classes.Class number 1Hard theorem by Stark-Heegner, no structural explanation3 generates all nine through c(3*p). The selection theorem shows exactly which lifts work and which fail.163Famous number from e^{pi*sqrt(163)}, no structural connection to small primes163 = c(81) = c(3^4). Eisenstein norm of (3, 11). E3(3, 14) = E3(11, 14) = 163. CRT(163) carries 13 in the mod-5 channel.

Source code · Public domain (CC0)

Report issue

.ax source compiled to WASM via self-hosting compiler. Zero HTML authored.