This site is supported by donations to The OEIS Foundation.

Quadratic integer rings

From OeisWiki
Jump to navigationJump to search


This article is under construction.            

Please do not rely on any information it contains.            



This article page is a stub, please help by expanding it.


Given a discriminant D being a squarefree integer, 𝒪(D)[1] is the quadratic integer ring (contained in the quadratic number field (D)) of the form

[D]:=𝒪(D):=𝒪(D):={{a+bDa,b}if D≢1(mod4),{a+bD2a,b,ab(mod2)}if D1(mod4).

When b=0, the result corresponds to an ordinary integer, though its factorization in 𝒪(D) might be different from its factorization in . What's more, it may have multiple factorizations (in which case we say that 𝒪(D) is not a unique factorization domain). When b0 the numbers may be irrational but they are nevertheless quadratic integers, and thus algebraic integers.

When D1mod4, numbers of the form a2+bD2 are algebraic integers when a and b have the same parity. For example, 3+552 is an algebraic integer having a norm of 29. In these cases we use the notation [1+D2] rather than [D], but one will occasionally encounter the latter when the former is meant. In the case of D=3, the notation ω=12+32 has become widely accepted, and consequently the notation [ω] for the ring that includes 3.

If D<0 then 𝒪(D) is called an imaginary quadratic integer ring, though it contains purely real and complex numbers as well as purely imaginary numbers. Otherwise, it is a real quadratic integer ring and contains only real numbers.

Units in quadratic integer rings

1 and –1 are always units in a quadratic integer ring regardless of the discriminant. Some imaginary quadratic integer rings have more units (they are complex roots of unity), while all real quadratic integer rings have infinitely many units. The associates of a number in a quadratic integer ring are the products of that number by each of the units. In giving the factorization of many numbers from a quadratic integer ring, it often becomes necessary to include a unit.

Theorem I1.

Given a positive and squarefree discriminant

D

, the imaginary quadratic integer ring

𝒪(D)

has a (small) finite set of units.

Proof. The norm of an algebraic integer in

𝒪(D)

is

a2(D)b2

, which works out to

a2+Db2

, meaning that the norm is never negative. This means that for

a+bD

to be a unit in

𝒪(D)

, its norm has to be 1. Clearly 1 and –1 meet this requirement (

b=0

then), while any other purely real integers don't, since

N(a)>1

. If

b0

and

D>4

, then

N(a+bD)2>1

, thus proving that 1 and –1 are the only units in each imaginary field other than

[(1+3/2]

,

[2]

and

[i]

, which we may now dispose of by examination one-by-one. In

[(1+3)/2]

, we need to solve

a2+3b2=1

to find the units. The only solutions in integers are

a=±1

with

b=0

. There are four more solutions:

a=±1/2

with

b=±1/2

. There are no more solutions since they would have

|a|>1

or

|b|>1

, which is impossible. In

[2]

we have

a2+2b2=1

with the only answers being

a=±1

with

b=0

. In

[i]

, or

[1]

, we have

a2+b2=1

because of the simplification

N(a+bi)=a2+b2

. Either

a

or

b

must be 0 so that the other can be 1 or –1 and square to 1 either way. Therefore the units in

[i]

form the small, finite set consisting of 1, –1,

i

and

i

. This proves all imaginary quadratic fields have a small finite set of units. 

Lemma R1a.

Given nonzero integers

a

,

b

,

d

, with that last one positive and squarefree, the equation

|a2db2|=1

always has a solution.

Proof. PROOF GOES HERE. (Provide proof: PROOF GOES HERE. □)[2]

Theorem R1.

Given a positive and squarefree discriminant

d

, the real quadratic integer ring

𝒪(D)

has infinitely many units.

Proof. –1 is a unit in any real quadratic field since –1 * –1 = 1. Remember the usual formula for the norm:

N(a+bD)=a2Db2

, which gives negative values if

Db2>a2

. Find a solution to

a2=Db21

by using the following method FILL IN THAT METHOD ANOTHER DAY (To do)[3]. This solution gives us one more unit in

𝒪(D)

:

a+bD

. Choose any

n

and compute

(a+bD)n

. I BIT OFF MORE THAN I COULD CHEW ON THAT ONE, MISSING STEP HERE IS TO SHOW THE FORM OF (a + b sqrt(D))^n TO BE FILLED IN HERE (To do)[4]. If

n=0

, then

(a+bD)n=1

, while

n=1

, then

(a+bD)n=a+bD

. Larger

n

give the SPECIFIED FORM (To do)[5], these numbers are larger but their norms still work out to –1 and are therefore units. Similarly,

(a+bD)n=1(a+bD)n

; these numbers are smaller than 1 but they are distinct. Since

is an infinite set, the set of units in

𝒪(D)

is the infinite set of values of

(a+bD)n

, proving the theorem. 

Primes in quadratic integer rings

Neither the multitude of units in a real field nor the presence of imaginary numbers in imaginary fields pose any substantial problems to figuring out the potentially different prime factorizations of ordinary integers in those rings. The lack of unique factorization is a major obstacle in those fields with a class number other than 1. If 𝒪(D) is a UFD, then knowledge of a few basic facts makes factorization of ordinary integers a very straightforward process.

In this article, we will consider numbers like –3 and –127 to be prime in , as they are the product of a positive prime and the unit –1.

Theorem P0.

If a prime

p

in

is the norm of an integer

a+bD

, with

b0

, then

a+bD

is prime in

𝒪(D)

.[6]

Proof. Remember that norms are always integers from

, and that the norm is a multiplicative function. If

a+bD

was composite, we could choose integers

s

and

t

from

𝒪(D)

, neither of them units in that field, such that

st=a+bD

and

N(s)N(t)=p

. But since in

the only divisors of

p

are

p

, –1, 1 and

p

, this means that

|N(s)|=1

and

|N(t)|=|p|

or vice-versa. Therefore,

a+bD

is prime in

𝒪(D)

Of course N(p)=p2, but we do have some other guidance to help us distinguish whether a prime from is also prime in 𝒪(D) or not. The next three theorems refer to fields that are UFDs.

Theorem P1.

If

p

is a prime in

, it is either also prime in

𝒪(D)

or it is the product of exactly two primes in

𝒪(D)

(though these are not necessarily distinct).[7]

Proof. PROOF GOES HERE. (Provide proof: PROOF GOES HERE. □)[8]

So, if p is composite in 𝒪(D), we can search for a and b such that |N(a+bD)|=|p|. But that would be a futile search if p is also prime in 𝒪(D). Fortunately there is a way to tell whether such a search is worth undertaking in the first place. The number 2 is a special case, while the odd primes are all handled pretty much the same way.

Theorem P2.

In order for 2 to be a prime in

𝒪(D)

, the congruence

D5mod8

must hold. If instead

D3mod4

, this means that 2 is the associate of the square of a prime, while

D1mod8

means that 2 is the product of two distinct primes.[9]

Proof. Since we stipulated that these theorems refer to UFDs, to prove the specified assertions for imaginary rings it is sufficient to prove it for the nine imaginary rings that actually have unique factorization. We see that

1+i

,

2

and

12+72

are all divisors of 2 in

[i]

,

[2]

and

𝒪(7)

, respectively. Then we verify that the equations

x2+3y2=2

and

(x2)2+3(y2)2=2

,

x2+11y2=2

and

(x2)2+11(y2)2=2

,

x2+19y2=2

and

(x2)2+19(y2)2=2

,

x2+43y2=2

and

(x2)2+43(y2)2=2

,

x2+67y2=2

and

(x2)2+67(y2)2=2

,

x2+163y2=2

and

(x2)2+163(y2)2=2

all lack integer solutions. Therefore, 2 is prime in

[ω]

,

𝒪(11)

,

𝒪(19)

,

𝒪(43)

,

𝒪(67)

,

𝒪(163)

. Indeed

35mod8

, as are –11, –19, –43, –67, –163, whereas –1, –2 and –7 are not.

As it is unknown whether there are infinitely many real quadratic rings that are UFDs, it would be impractical to examine real rings one by one as we did with the imaginary rings. So instead, we will construct the REST OF THE PROOF GOES HERE (To do)[10] 

Theorem P3.

If

p

is an odd prime in

𝒪(D)

, coprime to

D

, then

p

is composite if and only if the Legendre symbol

(Dp)=1

.[11]

Proof. PROOF GOES HERE. (Provide proof: PROOF GOES HERE. □)[12]

Remark. If (Dp)=1 there is no solution to a2Db2=p in integers, and that is true whether 𝒪(D) is a UFD or not. However, if 𝒪(D) is not a UFD, it can happen that (Dp)=1 but p is prime in that field anyway: it does sometimes happen that there is a solution in integers to a2Db=p but not a2Db2=p.

Armed with these facts, the identification of primes in 𝒪(D) (when that is a UFD) becomes very easy, and the factorization of composites becomes so easy that most textbooks say nothing about it. Here we will make a few remarks about it: if p=(1)(a+bD)(abD), then p2=(a+bD)2(abD)2. In general, the inclusion of the unit –1 is required only when the exponent is odd, and we feel no need to include the unit 1 when the exponent is even.

Simple quadratic integer rings

Simple (i.e. UFD) quadratic integer rings.

A061574 Simple quadratic fields (i.e. with a unique prime factorization). (Note that the discriminant must be squarefree, i.e. from A005117(n).)

{–163, –67, –43, –19, –11, –7, –3, –2, –1, 1, 2, 3, 5, 6, 7, 11, 13, 14, 17, 19, 21, 22, 23, 29, 31, 33, 37, 38, 41, 43, 46, 47, 53, 57, 59, 61, 62, 67, 69, 71, 73, 77, 83, 86, 89, 93, 94, 97, 101, 103, 107, 109, 113, 118, 127, 129, 131, 133, 134, 137, 139, 141, 149, ...}

Quadratic integer rings with negative discriminant

If D<0 then 𝒪(D) is called an imaginary quadratic integer ring, though it contains purely real and complex numbers as well as purely imaginary numbers.

Simple quadratic integer rings with negative discriminant

Simple (i.e. UFD) quadratic integer rings with negative discriminant.

A?????? Simple (i.e. with a unique prime factorization) quadratic fields with negative discriminant. (Note that the discriminant must be squarefree, i.e. from A005117(n).)

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

A003173 Heegner numbers: imaginary quadratic fields with unique factorization (or class number 1). (Note that the discriminant must be squarefree, i.e. from A005117(n).)

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

Quadratic integer ring with discriminant –1

Main article page: Gaussian integers

The [commutative] quadratic integer ring [with unity] [1] (or [i]), with units 1, i, –1 and i, is a UFD. The primes in which are congruent to 3 (mod 4) are also prime in [i], while 2 and the primes in which are congruent to 1 (mod 4) are the sum of two squares of positive integers, and thus are composite in [i].

1 Unit
2 (i)(1+i)2 Prime in .
3 Prime
4 (1)(1+i)4
5 (i)(2+i)(2i+1) Prime in .
6 (i)(1+i)23
7 Prime
8 i(i+1)6
9 3 2
10 (1)(i+1)2(2i+1)(i+2) This is the smallest composite, squarefree (in ) positive integer for which both of its prime factors are composite in [i].
11 Prime
12 (1)(1+i)43
13 (3+2i)(32i) Prime in .
14 (i)(1+i)27
15 (i)3(2+i)(2i+1)
16 (1+i)4(1i)4
17 (4+i)(4i) Prime in .
18 (i)(1+i)232
19 Prime
20 (1+i)2(1i)2(2+i)(2i)
21 3 × 7

Quadratic integer ring with discriminant –3

Main article page: Eisenstein integers

Since 31mod4, the ring 𝒪(3) includes algebraic integers like ω=12+32, which is a complex cubic root of unity and has a norm of 1. ω2 also has a norm of 1, as do ω and (ω)2. Hence [ω] has six units: 1, –1, ω, ω2, ω and (ω)2. [ω] is a unique factorization domain.

1 Unit
2 Prime
3 (1+ω)(1ω2) Prime in
4 2 2
5 Prime
6 2(1+ω)(1ω2)
7 (2+ω)(2ω2) Prime in
8 2 3
9 (1+ω)2(1ω2)2
10 2 × 5
11 Prime
12 22(1+ω)(1ω2)
13 (3+ω)(3ω2) Prime in
14 2(2+ω)(2ω2)
15 (1+ω)(1ω2)5
16 2 4
17 Prime
18 2(1+ω)2(1ω2)2
19 (3+2ω)(32ω2)
20 2 2 × 5

Nonsimple quadratic integer rings with negative discriminant

Nonsimple (i.e. not UFD) quadratic integer rings with negative discriminant.

Quadratic integer ring with discriminant –5

The commutative quadratic integer ring with unity [5], with units being only 1 and –1, is not a UFD.

1 Unit
2 Prime
3 Prime
4 2 2
5 (1)(5)2
6 23=(1+5)(15) The classic example that this field is not a UFD.
7
8 2 3
9 32=(2+5)(25)
10
11
12
13
14 2×7=(35)(3+5)
15
16 2 4
17
18
19
20
21 3×7=(125)(1+25)=(45)(4+5) Unless we have overlooked a divisor somewhere, this constitutes an example of multiple factorization more elegant than 6.

Some authors prefer to write numbers in this field in the form a+ib5, which is perfectly valid since 5=i5.

Quadratic integer rings with positive discriminant

Main article page: Real quadratic integer rings

If D>0 then 𝒪(D) is called a real quadratic integer ring and contains only real numbers.

Note that D is never a unit in 𝒪(D) if that is a real field, as its norm works out to D. One consequence of this is that even if the discriminant is prime in , it is composite in 𝒪(D).

A003649 Class number of real quadratic field Q(sqrt f), where f is the n-th squarefree number A005117(n).

{1, 1, 1, 1, 1, 2, 1, 1, 1, 2, 1, 1, 1, 1, 1, 2, 1, 2, 1, 1, 2, 2, 1, 1, 2, 1, 2, 1, 1, 1, 2, 1, 2, 1, 2, 1, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 1, 2, 3, 4, 1, 2, 1, 2, 1, 2, 1, 1, 2, 1, 1, 2, 1, 2, 2, 1, 1, 2, 2, 1, 2, 2, 1, 2, 2, 2, 1, 1, 4, 1, 1, 1, 1, 2, 1, 1, 3, 2, 4, 2, 1, 1, 2, 2, 1, 1, 2, 1, 1, 2, 1, 1, 4, 1, 2, ...}

Simple quadratic integer rings with positive discriminant

Simple (i.e. UFD) quadratic integer rings with positive discriminant.

A003172 Q(n) is a unique factorization domain (or simple quadratic field). (Note that the discriminant must be squarefree, i.e. from A005117(n).)

{2, 3, 5, 6, 7, 11, 13, 14, 17, 19, 21, 22, 23, 29, 31, 33, 37, 38, 41, 43, 46, 47, 53, 57, 59, 61, 62, 67, 69, 71, 73, 77, 83, 86, 89, 93, 94, 97, 101, 103, 107, 109, 113, 118, 127, 129, 131, 133, 134, 137, 139, 141, 149, 151, 157, 158, 161, 163, 166, 167, 173, 177, 179, 181, 191, 193, 197, 199, 201, ...}

Quadratic integer ring with discriminant 2

The [commutative] quadratic integer ring [with unity] [2], with units of the form ±(1+2)n (n), is a UFD. If an odd prime p is congruent of 1 or –1 modulo 8, it is composite in [2], and obviously so is 2 (see A038873).

1 Unit
2 (2)2 This seemingly roundabout expression is necessary in this field because this number is the discriminant. Somewhat counter-intuitively, (2+2)(22) does not count as a separate factorization because both multiplicands are associates of 2 (e.g., (2+2)=(1+2)2).
3 Prime
4 (2)4 The factorization of 2n in this field is (2)2n.
5 Prime
6 (2)23 This is the smallest squarefree composite in + that is not squarefree in [2].
7 (3+2)(32) Prime in . Some students are confused when they discover (1)(1+22)(122)=7 also, thinking they have found a distinct factorization, but again, other than –1, we're dealing with associates of the factors given in the middle column.
8 (2)6
9 3 2
10 (2)25
11 Prime
12 (2)43
13 Prime
14 (2)2(3+2)(32)
15 3 × 5
16 (2)8
17 (1)(1+32)(132) Prime in
18 (2)232
19 Prime
20 (2)45

Quadratic integer ring with discriminant 3

The commutative quadratic integer ring with unity [3], with units being –1 and (2+3)n, is a UFD.

1 Unit
2 (1)(13)(1+3) Prime in .
3 (3)2 This roundabout expression is necessary because 3 is the discriminant of this field and therefore is not prime in it.
4 (13)2(1+3)2
5 Prime
6 (1)(13)(1+3)(3)2
7 Prime
8 (1)(13)3(1+3)3
9 (3)4
10 (1)(13)(1+3)5
11 (1)(123)(1+23) Prime in .
12 (13)2(1+3)2(3)2
13 (1)(43)(4+3) Prime in .
14 (1)(13)(1+3)7
15 (3)25
16 (13)4(1+3)4
17 Prime
18 (1)(13)(1+3)(3)4
19 Prime
20 (13)2(1+3)25

Quadratic integer ring with discriminant 13

The commutative quadratic integer ring with unity [(1+13)/2], with units of the form ±12(3+13)n, is a unique factorization domain. Given a prime p, if p is a square modulo 13 (see A038883), then p is composite in [(1+13)/2].

1 Unit
2 Prime
3 (1)(7213)(7+213) Prime in
4 2 2
5 Prime
6 (1)2(7213)(7+213)
7 Prime
8 2 3
9 (7213)2(7+213)2
10 2 × 5
11 Prime
12 (1)(22)(7213)(7+213)
13 (13)2 This seemingly roundabout expression is necessary in this field because this number is the discriminant.
14 2 × 7
15 (1)5(7213)(7+213)
16 2 4
17 (15413)(15+413) Prime in
18 2(7213)2(7+213)2
19 Prime
20 2 2 × 5

Nonsimple quadratic integer rings with positive discriminant

Nonsimple (i.e. not UFD) quadratic integer rings with positive discriminant.

A146209 Integers a(n) for which the factorisation in the real quadratic field Q(sqrt(a(n)) is not unique. (Note that the discriminant must be squarefree, i.e. from A005117(n).)

{10, 15, 26, 30, 34, 35, 39, 42, 51, 55, 58, 65, 66, 70, 74, 78, 79, 82, 85, 87, 91, 95, 102, 105, 106, 110, 111, 114, 115, 119, 122, 123, 130, 138, 142, 143, 145, 146, 154, 155, 159, 165, 170, 174, 178, 182, 183, 185, 186, 187, 190, 194, 195, ...}

Quadratic integer ring with discriminant 10

The [commutative] quadratic integer ring [with unity] [10], with units of the form ±(3+10)n, is not a UFD.

1 Unit
2 Prime[13]
3 Prime[13]
4 2 2
5 Prime
6 2×3=(4+10)(410)[13] Once again, 6 is the classic example that this field is not a UFD.
7 Prime
8 2 3
9 3 2
10 2×5=(10)2=(10+310)(10310) I'm not sure about that last one, but pretty sure it has at least two factorizations
11
12
13
14
15
16 2 4
17
18
19
20

Quadratic integer ring with discriminant 79

The real fields we have considered so far have class number either 1 or 2. [79], has class number 3. Its units are ±(80+979)n.

1 Unit
2 (979)(9+79)
3 Prime The number 3 is not a quadratic residue of 79, and thus prime per the Remark for Theorem P3 above.
4 (979)2(9+79)2
5 Prime Although 5 is a quadratic residue of 79, there is no solution to a279b2=5. If this was a UFD, then Theorem P3 above would mean that 5 is composite in this field.
6 (979)(9+79)3
7 Prime
8 (979)3(9+79)3
9
10
11
12
13
14
15 Failed to parse (syntax error): {\displaystyle 3 \times 5 = (–1)(8 + \sqrt{79})(8 – \sqrt{79})} Here we get to use a semiprime other than 6 to show that the field in question is not a UFD.
16 (979)4(9+79)4
17 Prime
18
19
20

References

(Needs paper/book title, editor, year, ...) (Add paper/book title, editor, year, ...)[14]

  • Bolker
  • William J. LeVeque, Elementary Theory of Numbers. Reading, Massachusetts: Addison-Wesley Publishing (1962)
  • Niven-Borowski
  • Ivan Niven & Herbert S. Zuckerman, An Introduction to the Theory of Numbers 4th Ed. New York, Chichester, Brisbane, Toronto: John Wiley & Sons (1980)
  • Weintraub, Steven H. (2008). A K Peters Series. ed. Factorization: Unique and Otherwise (CMS Treatises in Mathematics). Canadian Mathematical Society/Société mathématique du Canada. ISBN 978-1-56881-241-0. 

Notes

  1. Other notations such as 𝒪(D), [D] and 𝔸[D] are also used, although the latter notation doesn't make it clear that the number ring is quadratic.
  2. Needs proof.
  3. To do.
  4. To do.
  5. To do.
  6. This is Theorem 9.24 in Niven-Zuckerman, page 250.
  7. This is Theorem 9.29 (1) in Niven-Zuckerman, page 254.
  8. Needs proof.
  9. This is Theorem 9.29 (4) in N-Z.
  10. To do.
  11. This is Theorem 9.29 (3) in N-Z.
  12. Needs proof.
  13. 13.0 13.1 13.2 LeVeque, p. 107.
  14. To do: Add paper/book title, editor, year, ....