Congruence Classes Z n = {[0] n, [1] n, [2] n, …, [n - 1] n } = the set of congruence classes modulo n.

Slides:



Advertisements
Similar presentations
Cryptography and Network Security
Advertisements

Chapter 4 Finite Fields. Introduction of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key concern operations on “numbers”
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
Binary Operations.
How do we start this proof? (a) Assume A n is a subgroup of S n. (b)  (c) Assume o(S n ) = n! (d) Nonempty:
Congruence class arithmetic. Definitions: a ≡ b mod m iff a mod m = b mod m. a  [b] iff a ≡ b mod m.
Chapter II. THE INTEGERS
Congruence of Integers
Introduction Polynomials
Slide 10-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
1.3 – AXIOMS FOR THE REAL NUMBERS. Goals  SWBAT apply basic properties of real numbers  SWBAT simplify algebraic expressions.
M. Khalily Dermany Islamic Azad University.  finite number of element  important in number theory, algebraic geometry, Galois theory, cryptography,
Group algebra This is the same idea as matrix algebra in FP1. Ex1 a b = c make b the subject a -1 on left: a -1 (a b) = a -1 c use associative rule (a.
Monoids, Groups, Rings, Fields
Properties of Real Numbers
Chapter 2: Groups Definition and Examples of Groups
6.6 Rings and fields Rings  Definition 21: A ring is an Abelian group [R, +] with an additional associative binary operation(denoted · such that.
Introduction to Real Analysis Dr. Weihu Hong Clayton State University 8/19/2008.
Chinese Remainder Theorem. How many people What is x? Divided into 4s: remainder 3 x ≡ 3 (mod 4) Divided into 5s: remainder 4 x ≡ 4 (mod 5) Chinese Remainder.
Properties of Real Numbers
UNIT - 2.  A binary operation on a set combines two elements of the set to produce another element of the set. a*b  G,  a, b  G e.g. +, -, ,  are.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 13 Mathematical Systems.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
CS Lecture 14 Powerful Tools     !. Build your toolbox of abstract structures and concepts. Know the capacities and limits of each tool.
MATRIX A set of numbers arranged in rows and columns enclosed in round or square brackets is called a matrix. The order of a matrix gives the number of.
SECTION 2 BINARY OPERATIONS Definition: A binary operation  on a set S is a function mapping S X S into S. For each (a, b)  S X S, we will denote the.
Chapter 13 Mathematic Structures 13.1 Modular Arithmetic Definition 1 (modulo). Let a be an integer and m be a positive integer. We denoted by a mod m.
by D. Fisher (2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition 1.
(2 + 1) + 4 = 2 + (1 + 4) Associative Property of Addition.
Distributive Commutative Addition Zero Property Additive Inverse 0 Multiplicative Identity Commutative Multiplication Multiplicative Inverse Additive Identity.
Axioms for Rational Numbers 9/14-9/15. Natural Numbers – Numbers used for counting: 1, 2, 3, and so on. Whole Numbers – Natural numbers and zero: 0, 1,
Cryptography Lecture 14 Arpita Patra © Arpita Patra.
Divisibility and Modular Arithmetic
DEFINITION OF A GROUP A set of elements together with a binary operation that satisfies Associativity: Identity: Inverses:
4.4 Clock Arithmetic and Modular Systems. 12-hour Clock System  Based on an ordinary clock face  12 replaced with a zero  Minute hand is left off.
Chapter 4 With Question/Answer Animations 1. Chapter Motivation Number theory is the part of mathematics devoted to the study of the integers and their.
Properties of Algebra. 7 + ( ) = ( ) + 9.
Discrete Math II Howon Kim
The Basic Properties of
CS480 Cryptography and Information Security
Properties of Operations
Commutative Property of Addition
Real Numbers and Their Properties
Great Theoretical Ideas in Computer Science
Congruence class arithmetic
Great Theoretical Ideas In Computer Science
Basic Rules Of ALGEBRA.
Complex Number Field Properties
Properties of Real Numbers
Real Numbers, Algebra, and Problem Solving
Chapter 2.4/2.6 Notes: Multiplying and Dividing Real Numbers
Chapter 2: Groups Definition and Examples of Groups
Cryptography Lecture 21.
Modular Arithmetic and Change of Base
Properties of Real Numbers
Properties of Real Numbers
Great Theoretical Ideas in Computer Science
Properties of Real Numbers
Commutative Property Associative Property A. Addition
Section 10.1 Groups.
I. Finite Field Algebra.
1.3 – AXIOMS FOR THE REAL NUMBERS
FIELD.
Properties of Real Numbers
Cryptography Lecture 17.
Commutative Property Associative Property A. Addition
Properties of Real Numbers
Algebra 5 Congruence Classes.
Lecture 3 Strings and Things (Section 1.1)
Section 9.1 Groups.
Presentation transcript:

Congruence Classes Z n = {[0] n, [1] n, [2] n, …, [n - 1] n } = the set of congruence classes modulo n.

Theorem 1. Consider the rule given by [a] n +[b] n =[a+b] n, where, [a] n, [b] n  Z n. (a) “+” is a binary operation on Z n. (b) “+” is associative and commutative. (c) Z n has the additive identity [0] n. (d) Each [a] n in Z n has an additive inverse [  a] n in Z n.

Ex 1. [ ] 7 =

Ex 2. Let n = 4. Z 4 = {[0], [1], [2], [3]}. The operation table with respect to “+” is as follow. + [0] [1] [2] [3] [0] [0] [1] [2] [3] [2] + [3] [1] [1] [2] [3] [4]=[0] = [5] [2] [2] [3] [0] [1] = [1] [3] [3] [0] [1] [2]

Theorem 2. Given [a]·[b] = [ab], where [a], [b]  Z n. (a) “·” is a binary operation on Z n. (b) “·” is associative and commutative. (c) Z n has the multiplicative identity [1] n.

Ex 3. [4 · 9 · 15 · 59] 7 =

Ex 4. Let n = 4. Z 4 = {[0], [1], [2], [3]}. The operation table with respect to “ . ” is as follow. · [0] [1] [2] [3] [0] [0] [0] [0] [0] [2] · [3] [1] [0] [1] [2] [3] = [6] [2] [0] [2] [0] [2] = [2] [3] [0] [3] [2] [1]

Note:  [2]  [0], such that [2]·[2] = [0] in Z 4. The inverse of [3] is [3] in Z 4.

Theorem 3. [a] in Z n has a multiplicative inverse if and only if (a, n) = 1. Pf:

Cor 4. Every nonzero element of Z n has a multiplication inverse if and only if n is prime.

Ex 5. The elements of Z 15 that have multiplication inverses are [1], [2], [4], [7], [8], [11], [13], [14]. Moreover,

Ex 6. What is the inverse of [13] in Z 191 ?

Ex 7. Find [15]  1 in Z 26.

Ex 8. Find integers x, y satisfying [4][x] + [y] = [22] and [19][x] + [y] = [15] in Z 26.