Class-4-5-10

Class-4-5-10 - More Number Theory (Elementary) next Modular...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon
More Number Theory (Elementary) next
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Modular Arithmetic A = B q + r y = x (mod p ) y = p q + x y = “a -1 1 . For small p inverses are obtained from the multiplication modulo p table 2. For large p we use the euclidean algorithm y a =1 (mod p ) Quotient Remainder 3 . Recall that GCD of two numbers A an B is the largest number that divides them both and is denoted (A,B) 4 . A fundamental fact: It is always possible to ±nd to integers H and K giving (A,B) = H A + K B 5 . (A,B) as well as H and K will be obtained from the Euclidean Algorithm next 0 x<p 0 r < B
Background image of page 2
A RANDOM NUMBER GENERATOR next A random number in the interval [0,1]
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Homophonic Substitution Key: “GOLF” Add 25 to second row, 50 to third row, 75 to frst row, etc . . . Message: The box will arrive by train Plaintext: T H E B O X W I L L A R R I V E B Y T R A I N 7 Ciphertext: next
Background image of page 4
THE EUCLIDEAN ALGORITHM Berlekamp’s version The Euclidean algorithm is the process which yields the greatest common divisor d of two given integers
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 6
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/22/2010 for the course MATH MATH187 taught by Professor Math187 during the Spring '10 term at UCSD.

Page1 / 9

Class-4-5-10 - More Number Theory (Elementary) next Modular...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online