CLOCK ARITHMETIC.

Slides:



Advertisements
Similar presentations
Mod arithmetic.
Advertisements

Chapter 4 Finite Fields. Introduction of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key concern operations on “numbers”
Cryptography and Network Security Chapter 4 Fourth Edition by William Stallings.
Chapter 4 – Finite Fields. Introduction will now introduce finite fields of increasing importance in cryptography –AES, Elliptic Curve, IDEA, Public Key.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
Slide 10-1 Copyright © 2005 Pearson Education, Inc. SEVENTH EDITION and EXPANDED SEVENTH EDITION.
Arithmetic.
Peter Lam Discrete Math CS.  Sometimes Referred to Clock Arithmetic  Remainder is Used as Part of Value ◦ i.e Clocks  24 Hours in a Day However, Time.
A number that divides evenly into a larger number without a remainder Factor- Lesson 7 - Attachment A.
Mathematics of Cryptography Part I: Modular Arithmetic, Congruence,
1 Multiples Stage 4 Year 7 Press Ctrl-A ©2009 – Not to be sold/Free to use.
Mathematics of Cryptography Part I: Modular Arithmetic
Module :MA3036NI Cryptography and Number Theory Lecture Week 7
Section 4.3: Fermat’s Little Theorem Practice HW (not to hand in) From Barr Text p. 284 # 1, 2.
Chapter 4 Numeration and Mathematical Systems © 2008 Pearson Addison-Wesley. All rights reserved.
ORDER OF OPERATIONS x 2 Evaluate the following arithmetic expression: x 2 Each student interpreted the problem differently, resulting in.
11-7 Multiplying Integers Warm Up Find each product ,600 14,000.
Equation y + 5 y + 5 = 20 Expressions
7-6 Function Operations Objective 2.01
Jeopardy $100 Synthetic Division SD : Remainder Theorem FactoringVOID $200 $300 $400 $500 $400 $300 $200 $100 $500 $400 $300 $200 $100 $500 $400 $300.
THE REAL NUMBERS College Algebra. Sets Set notation Union of sets Intersection of sets Subsets Combinations of three or more sets Applications.
Dividing Decimals by a Whole Number 3.6 ÷ 3.
Section 5.5 The Real Zeros of a Polynomial Function.
3.6 Day 2 Why Synthetic Division? What use is this method, besides the obvious saving of time and paper?
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.
DO NOW: 1) ;use y=10,and z=2 2) p+q2 -(5-5); use p=1,andq=1 3) If I am building a building and I am building the fifth floor and I have to remove 5 lbs.
Lesson 7. Literal Equations  I can identify literal equations.  I can rewrite and use literal equations Objectives.
One step equations Add Subtract Multiply Divide  When we solve an equation, our goal is to isolate our variable by using our inverse operations.  What.
Splash Screen. Main Idea/Vocabulary factors exponent base power squared Use powers and exponents. cubed evaluate standard form exponential form.
© 2010 Pearson Prentice Hall. All rights reserved. CHAPTER 13 Mathematical Systems.
4-8 Complex Numbers Today’s Objective: I can compute with complex numbers.
EPFL-IC-IIF-LACAL Marcelo E. Kaihara April 27 th, 2007 Algorithms for public-key cryptology Montgomery Arithmetic.
Ref: Pfleeger96, Ch.31 Properties of Arithmetic Reference: Pfleeger, Charles P., Security in Computing, 2nd Edition, Prentice Hall, 1996.
Polynomial and Synthetic Division Objective: To solve polynomial equations by long division and synthetic division.
2.5 Determinants and Multiplicative Inverses of Matrices. Objectives: 1.Evaluate determinants. 2.Find the inverses of matrices. 3.Solve systems of equations.
Solving Linear Equations with Justification of Properties.
Solving 1-Step Equations 2 An Equation is Like a Balance.
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.
1-4 Properties of Real Numbers. Properties 1.Additive Identity – the sum of any number and zero is equal to the number. a + 0 = a 2.Multiplicative Identity.
Distributive Commutative Addition Zero Property Additive Inverse 0 Multiplicative Identity Commutative Multiplication Multiplicative Inverse Additive Identity.
Divisibility and Modular Arithmetic
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.
1 Discrete Structures – CNS2300 Text Discrete Mathematics and Its Applications Kenneth H. Rosen (5 th Edition) Chapter 2 The Fundamentals: Algorithms,
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.
Number-Theoretic Algorithms
Dividing Polynomials Two options: Long Division Synthetic Division.
Divide by x - 1 Synthetic Division: a much faster way!
Commutative Property of Addition
Solving For “Y” 1. Circle Y 2. What is the inverse operation of X
Section 1-6 Solving Inequalities.
MATH301- DISCRETE MATHEMATICS Copyright © Nahid Sultana Dr. Nahid Sultana Chapter 4: Number Theory and Cryptography.
Algebra II Unit 1 Test Review: Equations and Inequalities
Modular Arithmetic and Change of Base
Integers with Manipulatives
Remainder and Factor Theorem
Determining Factors and Multiples
#1 Dividing by a Whole Number
Modular Arithmetic ICS 6D Sandy Irani.
Modular Arithmetic.
BASIC MATH.
Modular Arithmetic and Elliptic Curves
Arithmetic MOD 7 a finite algebra
Section 10.3 Modular Arithmetic
Do Now Evaluate 9h + h if h = 2.1 Evaluate 2 (4 + g) 2 If g = 6.
Going round in circles… Going round in circles…
Solving Linear Equations
Lecture 3 Strings and Things (Section 1.1)
Multiplying and Dividing Decimals
Section 9.3 Modular Arithmetic.
Exponent practice.
Presentation transcript:

CLOCK ARITHMETIC

... -4 -3 -2 -1 0 1 2 3 4 5 6 ... 2 + 3

... -4 -3 -2 -1 0 1 2 3 4 5 6 ... 3 - 7 We define ordinary arithmetic by hopping up and down a straight line. Let’s define a new kind of arithmetic by hopping around a circle!

4 1 3 2 2 + 4 = 1

4 1 3 2 In this system, 4 + 3 = 2

4 1 3 2 and 2 - 3 = 4

4 1 3 2 4  3 = 2

1 4 2 3  3 = 2 We evaluate 43 by taking 12 hops around the clock. Because every fifth hop is zero we land on the remainder when 12 is divided by 5.

1 4 2 3 5 3 8 4 + 4 = 3

1 4 2 3 10 2 12 4  3 = 2

1 4 2 3 5 4 9 3  3 = 4

15 10 16 etc 5 14 11 9 6 4 1 3 2 7 8 12 13 Numbers of the same color belong to the same modular class.

1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 Additive inverse of 4 associativity 2 x + 4 = 2 ( ) + 1 3( ) 2 x + 0 = 3

1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 2 x + 4 = 2 ( ) + 1 1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 2 x + 4 = 2 ( ) + 1 Multiplicative inverse of 2 3( ) 2 x + 0 = 3

1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 2 x + 4 = 2 ( ) + 1 1 4 2 3 ARITHMETIC MOD 5 Solve for x: 2 x + 4 = 2 2 x + 4 = 2 ( ) + 1 (3• ) 2 x + 0 = 3 3( ) 1 x = 4