The number of primes above two in a multiquadratic field #
For K = ℚ(√d₁, …, √dₙ) with integer radicands not divisible by four, this file gives
the prime count at two directly in terms of the radicands, including when two ramifies.
The ramification index is 2 ^ a, where a = 2 when the radicands generate two ramified
dyadic square classes, a = 0 when all radicands are one modulo four, and a = 1 otherwise.
The residue degree is 2 ^ b, where b = 1 precisely when the squarefree part of a subset
product is five modulo eight, and b = 0 otherwise.
Thus the number of primes above two is [K : ℚ] / 2 ^ (a + b). Under square-class independence,
ncard_primesOver_two_eq_two_pow_sub gives 2 ^ (n - (a + b)), using the
equivalent rational square-class test for b. The companion dyadic_exponents_add_le_card
exposes the bound a + b ≤ n, so subtraction cannot conceal an impossible decomposition type.
Independence is unnecessary for the formula in terms of the field degree.
References #
- D. A. Cox, Primes of the Form x² + ny², §5.B.
- J. Neukirch, Algebraic Number Theory, Chapter I, §9 and Chapter II, §5.
- Mathlib,
Ideal.ncard_primesOver_mul_ramificationIdxIn_mul_inertiaDegIn(the Galois fundamental identity).
The dyadic decomposition identity, without square-class independence. The number of
primes above two multiplied by 2 ^ (a + b) equals [K : ℚ], where the displayed arithmetic
tests determine the ramification index e = 2 ^ a and residue degree f = 2 ^ b.
In particular, 2 ^ (a + b) divides the field degree, including when two ramifies.
The number of primes above two, without square-class independence. The exponents a
and b read the ramification index and residue degree from the radicands: e = 2 ^ a and
f = 2 ^ b. The number of primes is therefore [K : ℚ] / 2 ^ (a + b), whether or not two
ramifies. Radicands need only be indivisible by four, rather than squarefree.
The dyadic exponents fit within the number of independent radicands. The displayed
ramification and residue-degree exponents satisfy a + b ≤ Nat.card ι, ensuring that natural
subtraction of their sum from the number of radicands does not truncate.
The number of primes above 2. Let K be generated over ℚ by square roots of n
square-class independent integers d i (no nonempty subset product is a square) not divisible by
4. Then there are exactly 2 ^ (n - a - b) primes of 𝓞 K above 2, where the ramification
index is e = 2 ^ a and the residue degree is f = 2 ^ b:
a = 2when somed iis3modulo4and somed jis even, or somed iis2and somed jis6modulo8; otherwisea = 0when everyd iis1modulo4, anda = 1when not;b = 1when some subset product∏_{i ∈ T} dᵢlies in the rational square class of an integer that is5modulo8, andb = 0otherwise.