11.07.2015 Views

Cryptography - Sage

Cryptography - Sage

Cryptography - Sage

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

must therefore have a divisor of degree 1, and we apply the lemma to reduce to the list ofirreducible polynomials:x 4 + x 3 + 1, x 4 + x + 1, x 4 + x 3 + x 2 + x + 1.Degree 5: As in degree 4, we exclude those polynomials which have a divisor of degree 2:(x 2 + x + 1)(x 3 + x + 1) = x 5 + x 4 + 1(x 2 + x + 1)(x 3 + x 3 + 1) = x 5 + x + 1,after which we conclude that all other polynomials of degree 5 with constant term 1 andan odd number of coefficients are irreducible:x 5 + x 3 + 1, x 5 + x 2 + 1,x 5 + x 4 + x 3 + x 2 + 1, x 5 + x 4 + x 3 + x + 1,x 5 + x 4 + x 2 + x + 1, x 5 + x 3 + x 2 + x + 1.Exercise. Determine which of the above polynomials are primitive.Cyclotomic polynomialsIn the previous lecture we found that there are six irreducible polynomials of degree five.In order to understand and to count the numbers of irreducible and primitive polynomials,we first introduce cyclotomic polynomials.Definition 7.6 The cyclotomic polynomials Φ N (x) are defined recursively by the identity:x N − 1 = ∏ m|NΦ m (x).Example 7.7 To demonstrate how this serves to define the cyclotomic polynomials, wecompute the first few examples:Moreover, if p is a prime, thenΦ 1 (x) = x − 1 Φ 4 (x) = x 2 + 1Φ 2 (x) = x + 1 Φ 5 (x) = x 4 + x 3 + x 3 + x 2 + x + 1Φ 3 (x) = x 2 + x + 1 Φ 6 (x) = x 2 − x + 1Φ p (x) = xp − 1x − 1 = xp−1 + · · · + x + 1.So far, the definition of cyclotomic polynomials does not make use of polynomials beingdefined over F 2 , and if we instead let the coefficient ring be Z, then we have the followingclassical result.62 Chapter 7. Elementary Number Theory

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!