Review/Outline Review: Basic computations in finite fields Reed-Solomon codes Hamming codes Bose-Chaudhuri-Hocquengham (BCH) codes

Similar documents
Review/Outline Frobenius automorphisms Other roots of equations. Counting irreducibles Counting primitive polynomials

Stable Polynomials over Finite Fields

Two formulas for the Euler ϕ-function

Zachary Scherr Math 503 HW 5 Due Friday, Feb 26

Continuing discussion of CRC s, especially looking at two-bit errors

1 The Galois Group of a Quadratic

Week 1: Number Theory - Euler Phi Function, Order and Primitive Roots. 1 Greatest Common Divisor and the Euler Phi Function

LEGENDRE TYPE FORMULA FOR PRIMES GENERATED BY QUADRATIC POLYNOMIALS

TC10 / 3. Finite fields S. Xambó

Quasi-reducible Polynomials

Proof: Let the check matrix be

Fundamental Theorem of Algebra

Primes in arithmetic progressions

Multiplicative properties of sets of residues

1 Rabin Squaring Function and the Factoring Assumption

CHARACTERIZATION OF PSL(3,Q) BY NSE

Algebraic Cryptography Exam 2 Review

ALGEBRAIC AND ANALYTIC PROPERTIES OF ARITHMETIC FUNCTIONS

Twisted Tensor Product Codes

Classification of Finite Fields

Multiplicative properties of sets of residues

Public-key Cryptography: Theory and Practice

SOLVING SOLVABLE QUINTICS. D. S. Dummit

5 Group theory. 5.1 Binary operations

Factorization in Polynomial Rings

Lecture notes: Algorithms for integers, polynomials (Thorsten Theobald)

A 2-error Correcting Code

Garrett Z p. Few explicit parametrizations of algebraic closures of fields are known: not Q, for sure. But we do also know

I216e Discrete Math (for Review)

Chapter 5. Factorization of Integers

Witt#5: Around the integrality criterion 9.93 [version 1.1 (21 April 2013), not completed, not proofread]

Surjectivity and equidistribution of the word x a y b on P SL(2, q) and SL(2, q)

Zachary Scherr Math 503 HW 3 Due Friday, Feb 12

Coding Theory ( Mathematical Background I)

Multiplicative properties of sets of residues

Part II Galois Theory

Homework 5 Solutions

Higher-Degree Polynomial Functions. Polynomials. Polynomials

2030 LECTURES. R. Craigen. Inclusion/Exclusion and Relations

Implementation of Theorems in D.S. Dummit s Solving Solvable Quintics(1991)

10 Problem 1. The following assertions may be true or false, depending on the choice of the integers a, b 0. a "

Constructing Tower Extensions of Finite Fields for Implementation of Pairing-Based Cryptography

LINEAR DIFFERENTIAL EQUATIONS OF ORDER 1. where a(x) and b(x) are functions. Observe that this class of equations includes equations of the form

G Solution (10 points) Using elementary row operations, we transform the original generator matrix as follows.

Field Theory Problems

FACTORIZATION OF IDEALS

GALOIS GROUPS OF CUBICS AND QUARTICS (NOT IN CHARACTERISTIC 2)

Mathematics for Cryptography

On colour-blind distinguishing colour pallets in regular graphs

Lenny Jones Department of Mathematics, Shippensburg University, Shippensburg, Pennsylvania Daniel White

Number Theory. CSS322: Security and Cryptography. Sirindhorn International Institute of Technology Thammasat University CSS322. Number Theory.

A check digit system over a group of arbitrary order

COMPUTING GALOIS GROUPS WITH GENERIC RESOLVENT POLYNOMIALS

9. Finite fields. 1. Uniqueness

(January 14, 2009) q n 1 q d 1. D = q n = q + d

COUNTING SEPARABLE POLYNOMIALS IN Z/n[x]

NEERAJ KUMAR AND K. SENTHIL KUMAR. 1. Introduction. Theorem 1 motivate us to ask the following:

Finite fields: some applications Michel Waldschmidt 1

Number Theory. D. V. Chudnovsky G. V. Chudnovsky H. Cohn M. B. Nathanson Editors. New York Seminar With 14 Figures

Number Theory and Algebra: A Brief Introduction

#A26 INTEGERS 10 (2010), ON CONGRUENCE CONDITIONS FOR PRIMALITY

(b)complete the table to show where the function is positive (above the x axis) or negative (below the x axis) for each interval.

USA Mathematics Talent Search

The group (Z/nZ) February 17, In these notes we figure out the structure of the unit group (Z/nZ) where n > 1 is an integer.

Self-Dual Cyclic Codes

Lecture 12: November 6, 2013

Each aix i is called a term of the polynomial. The number ai is called the coefficient of x i, for i = 0, 1, 2,..., n.

COMS W4995 Introduction to Cryptography September 29, Lecture 8: Number Theory

Number Theory Alex X. Liu & Haipeng Dai

On the enumeration of partitions with summands in arithmetic progression

Complete the following table using the equation and graphs given:

7. Localization. (d 1, m 1 ) (d 2, m 2 ) d 3 D : d 3 d 1 m 2 = d 3 d 2 m 1. (ii) If (d 1, m 1 ) (d 1, m 1 ) and (d 2, m 2 ) (d 2, m 2 ) then

NONABELIAN GROUPS WITH PERFECT ORDER SUBSETS

THE MONIC INTEGER TRANSFINITE DIAMETER

Conjugacy classes of torsion in GL_n(Z)

ON BEAUVILLE STRUCTURES FOR PSL(2, q)

A Note on Modular Partitions and Necklaces

A Few Primality Testing Algorithms

1 Structure of Finite Fields

NUMBER FIELDS WITHOUT SMALL GENERATORS

A Note on Irreducible Polynomials and Identity Testing

NOTES FOR DRAGOS: MATH 210 CLASS 12, THURS. FEB. 22

A Guide to Arithmetic

Thus, the integral closure A i of A in F i is a finitely generated (and torsion-free) A-module. It is not a priori clear if the A i s are locally

SOME FIFTH ROOTS THAT ARE CONSTRUCTIBLE BY MARKED RULER AND COMPASS

Necklaces Pólya s Enumeration Theorem. Pólya Counting I. Gordon Royle. Semester 1, 2004

ARML Sample Tryout Questions A - 1 A - 2 C - 1 C - 2

A Primer on Sizes of Polynomials. and an Important Application

A Look at the ABC Conjecture via Elliptic Curves

On a Sequence of Nonsolvable Quintic Polynomials

CPSC 467b: Cryptography and Computer Security

CSCE 564, Fall 2001 Notes 6 Page 1 13 Random Numbers The great metaphysical truth in the generation of random numbers is this: If you want a function

: Error Correcting Codes. November 2017 Lecture 2

Spectral Modular Arithmetic for Binary Extension Fields

Chinese Remainder Theorem explained with rotations

On more bent functions from Dillon exponents

Krull Dimension and Going-Down in Fixed Rings

Finite Fields. [Parts from Chapter 16. Also applications of FTGT]

ECEN 5022 Cryptography

ϕ : Z F : ϕ(t) = t 1 =

Transcription:

Review/Outline Review: Basic computations in finite fiels Ree-Solomon coes Hamming coes Bose-Chauhuri-Hocquengham (BCH) coes Testing for irreucibility Frobenius automorphisms Other roots of equations Counting irreucibles Counting primitive polynomials New: Equation satisfie by fiel element 1

Counting irreucibles [0.0.1] Theorem: Let p be prime. Fix a egree. The number of irreucible monic (=leaing coefficient 1) polynomials of egree in F p [x] is p q p/q + q 1,q 2 p/q 1q 2... where q 1, q 2,... are istinct primes iviing. For example, in some simple cases: egree prime: p p = qr with q, r istinct primes: p qr p q p r + p qr = abc with a, b, c istinct primes: p abc p ab p ac p bc + p a + p b + p c p abc [0.0.2] Remark: The number of elements in the fiel, p, i not have to be prime, but only prime-power. 2

In more succinct (but possibly less transparent) notation: the number of irreucible polynomials of egree in F p [x] is i 0 ( 1)i i tuples q 1 <...<q i p /q 1...q i where for each i the i-tuples q 1 <... < q i runs over (istinct) primes iviing. Further examples: for = q 2 with q prime: for = q 3 with q prime: for = q 4 with q prime: p q2 p q q 2 p q3 p q2 q 3 p q4 p q3 q 3 [0.0.3] Remark: It may not be entirely obvious that these are non-negative integer values. 3

[0.0.4] Example: Fin the number of irreucible egree 2 polynomials with coefficients in F 2 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 2 an = 2, so the number of such is 2 2 2 2 = 1 Inee, by trial an error we know it s x 2 + x + 1. 4

[0.0.5] Example: Number of irreucible egree 3 polynomials with coefficients in F 2 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 2 an = 3, so the number is 2 3 2 3 = 2 Inee, by trial an error we know they re x 3 + x + 1 an x 3 + x 2 + 1. 5

[0.0.6] Example: Irreucible egree 4 polynomials with coefficients in F 2 : The formula above, in the case of egree the square of a prime q, says that the number of irreucible egree polynomials with coefficients in F p is p q2 p q q 2 Here p = 2 an = 4, so q = 2, an the number of such is 2 4 2 2 = 3 4 Again, by trial an error, we know they re x 4 + x + 1 x 4 + x 3 + 1 an x 4 + x 3 + x 2 + x + 1 6

[0.0.7] Example: Number of irreucible egree 5 polynomials with coefficients in F 2 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 2 an = 5, so the number is 2 5 2 5 = 6 [0.0.8] Example: Irreucible egree 6 polynomials with coefficients in F 2 : The formula says the number of irreucible egree = qr polynomials with coefficients in F p, with istinct primes q, r, is p qr p q p r + p qr Here p = 2, q = 2, r = 3 so the number is 2 6 2 2 2 3 + 2 6 = 9 7

[0.0.9] Example: Fin the number of irreucible egree 2 polynomials with coefficients in F 3 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 3 an = 2, so the number of such is 3 2 3 2 = 3 Inee, by trial an error they re x 2 + 1 x 2 + x + 2 x 2 + 2x + 2 8

[0.0.10] Example: Number of irreucible egree 3 polynomials with coefficients in F 3 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 3 an = 3, so the number is 3 3 3 3 = 8 [0.0.11] Example: Irreucible egree 4 polynomials with coefficients in F 3 : in the case of egree the square of a prime q, the number of irreucible egree polynomials with coefficients in F p is p q2 p q q 2 Here p = 3 an = 4, so q = 2, an the number is 3 4 3 2 = 18 4 9

[0.0.12] Example: Fin the number of irreucible egree 7 polynomials with coefficients in F 3 : The formula above, in the case of prime egree, says that the number of irreucible egree polynomials with coefficients in F p is p p Here p = 3 an = 7, so the number of such is 3 7 3 7 = 312 [0.0.13] Example: Fin the number of irreucible egree 6 polynomials with coefficients in F 3 : The formula above, in the case of egree = qr with primes q, r, says that the number of irreucible egree polynomials with coefficients in F p is p qr p q p r + p qr 10

Here p = 3 an = qr with q = 2 an r = 3, so the number of such is 3 6 3 3 3 2 + 3 6 = 116 11

Euler s ϕ-function A convenient counting function is Euler s ϕ- function, or totient function ϕ(n) = no. t with 1 t n an gc(t, n) = 1 For example ϕ(2) = no.{1} = 1 ϕ(3) = no.{1, 2} = 2 ϕ(4) = no.{1, 3} = 2 ϕ(5) = no.{1, 2, 3, 4} = 4 ϕ(6) = no.{1, 5} = 2 ϕ(7) = no.{1, 2, 3, 4, 5, 6} = 6 ϕ(8) = no.{1, 3, 5, 7} = 4 [0.0.14] Remark: Do not compute ϕ(n) this way: o not enumerate the set to be counte. 12

[0.0.15] Theorem: Let n = p e 1 1... pe t t be the factorization of n into primes, with p 1 <... < p t an all e i 1. Then ϕ(n) = (p 1 1)p e 1 1 1... (p t 1)p e t 1 t [0.0.16] Examples: ϕ(10) = ϕ(2 5) = (2 1) (5 1) = 4 ϕ(12) = ϕ(2 2 3) = (2 1)2 (3 1) = 4 ϕ(15) = ϕ(3 5) = (3 1) (5 1) = 8 ϕ(30) = ϕ(2 3 5) = (2 1) (3 1) (5 1) = 8 ϕ(100) = ϕ(2 2 5 2 ) = (2 1)2 (5 1)5 = 40 [0.0.17] Remark: This formula fails if we cannot factor n (presumably ue to n being very large an having no small prime factors). 13

Counting primitives [0.0.18] Theorem: Let q be a prime power. Fix a egree. The number of primitive monic egree polynomials in F q [x] is ϕ(q 1) [0.0.19] Remark: It is completely unclear that the given expression is an integer. [0.0.20] Remark: We i not prove it, but it is true that primitive polynomials are necessarily irreucible: primitivity is a stronger conition than irreucibility. [0.0.21] Example: To count primitive monic egree 2 polynomials in F 2 [x], in the theorem = 2 an q = 2, giving no. prim. quaratics = ϕ(22 1) 2 = ϕ(3) (3 1) = = 1 2 2 using also the formula for Euler s ϕ-function. 14

[0.0.22] Example: To count primitive monic egree 3 polynomials in F 2 [x], in the theorem = 3 an q = 2, giving no. prim. cubics = ϕ(23 1) 3 = ϕ(7) (7 1) = = 2 3 3 using also the formula for Euler s ϕ-function (factoring by trial ivision). There are only two irreucible cubics x 3 + x + 1 an x 3 + x 2 + 1 so they are necessarily primitive. [0.0.23] Example: To count primitive monic egree 4 polynomials in F 2 [x], in the theorem = 4 an q = 2, giving no. prim. quartics = ϕ(24 1) 4 = ϕ(15) (3 1)(5 1) = = 2 4 4 using also the formula for Euler s ϕ-function (factoring by trial ivision). Of the 3 irreucible quartics x 4 + x + 1 an x 4 + x 3 + 1 are primitive. 15

[0.0.24] Example: To count primitive monic egree 5 polynomials in F 2 [x], in the theorem = 5 an q = 2, giving no. prim. quintics = ϕ(25 1) 5 = ϕ(31) 5 = (31 1) 5 = 6 using also the formula for Euler s ϕ-function (31 is prime, by trial ivision). There are (2 5 2)/5 = 6 irreucibles, to every irreucible is primitive. Inee, generally, [0.0.25] Corollary: If q 1 is prime, then every irreucible monic egree polynomial in F q [x] is primitive (otherwise, there will be fewer primitives than irreucibles of a given egree). /// 16

[0.0.26] Example: To count primitive monic egree 6 polynomials in F 2 [x], in the theorem = 6 an q = 2, giving no. prim. sextics = ϕ(26 1) 6 = ϕ(63) 6 = (3 1)3 (7 1) 6 = 6 using the formula for Euler s ϕ-function, factoring 63 by trial ivision. [0.0.27] Example: To count primitive monic egree 7 polynomials in F 2 [x], in the theorem = 7 an q = 2, giving no. prim. sextics = ϕ(27 1) 6 = ϕ(127) 7 = (127 1) 7 = 18 using the formula for Euler s ϕ-function (127 is prime by trial ivision). 17

[0.0.28] Example: To count primitive monic egree 2 polynomials in F 3 [x], in the theorem = 2 an q = 3, giving no. prim. sextics = ϕ(32 1) 2 = ϕ(8) 2 = (2 1)23 1 2 = 2 using the formula for Euler s ϕ-function, factoring 8 by trial ivision. Among the 3 irreucible quaratics x 2 + 1, x 2 +x+2, x 2 +2 here, which is the non-primitive one? For P (x) = x 2 + 2, note that x 2 = (x 2 + 2) + 1 = 1 mo P (x) so x has orer just 2 mo P (x), not the maximal possible, namely 3 2 1 = 8. So x 2 + 2 is the non-primitive one. 18

[0.0.29] Example: To count primitive monic egree 3 polynomials in F 3 [x], in the theorem = 3 an q = 3, giving no. prim. cubics = ϕ(33 1) 3 = ϕ(26) 3 = (2 1) (13 1) 3 = 4 using the formula for Euler s ϕ-function (factoring by trial ivision). [0.0.30] Remark: If we believe the formula, then there really are primitive polynomials of all egrees. 19