Download presentation
Presentation is loading. Please wait.
Published byDiane Barrett Modified over 9 years ago
1
Congruence and Sets Discrete Structures (CS 173) Madhusudan Parthasarathy, University of Illinois Dali - “The Persistence of Memory” 1
2
Review of Last Class 2
3
Goals of this lecture 3
4
Applications of congruence bitwise operations error checking computing 2D coordinates in images encryption telling time etc. 4
5
Congruence mod k 5
6
Examples of congruent mod k 6 overhead
7
7
8
8
9
9
10
Modulus addition proof 10 overhead
11
11
12
Modulus multiplication proof 12 overhead
13
Equivalence classes with modulus 13
14
Modulus arithmetic 14 overhead
15
RSA Key Generation 15
16
Rationals 16
17
Reals 17
18
Another congruence proof 18 overhead
19
Sets Topics: lists, set builders, tuples vs. sets, equivalence, cardinality, subsets and supersets 19 overhead
20
Things to remember Concept of congruence mod k, it’s definition in terms of divide, and equivalence classes – Many applications in CS The key to modular arithmetic is keeping numbers small Concept of sets and set equivalence 20
21
Thank you Next week: sets and relations 21
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.