a taste of pi: clocks, set, and the secret math of...

96
A Taste of Pi: Clocks, Set, and the Secret Math of Spies Katherine E. Stange SFU / PIMS-UBC October 16, 2010

Upload: others

Post on 28-Feb-2021

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

A Taste of Pi: Clocks, Set, and the SecretMath of Spies

Katherine E. StangeSFU / PIMS-UBC

October 16, 2010

Page 2: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am2 + 11 ≡ 1 mod 12

Page 3: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm

+ 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am2 + 11 ≡ 1 mod 12

Page 4: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours =

5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am2 + 11 ≡ 1 mod 12

Page 5: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm

3 + 2 ≡ 5 mod 122 pm +11 hours = 1 am

2 + 11 ≡ 1 mod 12

Page 6: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am2 + 11 ≡ 1 mod 12

Page 7: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours =

1 am2 + 11 ≡ 1 mod 12

Page 8: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am

2 + 11 ≡ 1 mod 12

Page 9: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Here is a picture of a clock.

3 pm + 2 hours = 5 pm3 + 2 ≡ 5 mod 12

2 pm +11 hours = 1 am2 + 11 ≡ 1 mod 12

Page 10: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of ClocksIt’s a little like rolling up a long line of the integers into a circle:

Page 11: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 12: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours =

6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 13: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock

2 + 11 ≡ 6 mod 71 o’clock−24 hours = 5 o’clock

1− 24 ≡ 5 mod 72 o’clock×4 = 1 o’clock

2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 14: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 15: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours =

5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 16: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock

1− 24 ≡ 5 mod 72 o’clock×4 = 1 o’clock

2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 17: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 18: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 =

1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 19: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock

2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 20: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We could have a clock with any number of hours on it.

Here is a picture of a clock with7 hours.

2 o’clock +11 hours = 6 o’clock2 + 11 ≡ 6 mod 7

1 o’clock−24 hours = 5 o’clock1− 24 ≡ 5 mod 7

2 o’clock×4 = 1 o’clock2× 4 ≡ 1 mod 7

We could label these with days of the week...

Page 21: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

We call the N-hour clock ZN ,and it has N elements:

ZN = {0, 1, 2, 3, . . . , N − 1}

We can add, subtract andmultiply elements of ZN (andget back elements of ZN ).

Page 22: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

I The math of clocks is called Modular Arithmetic and N iscalled the modulus.

I Two numbers A and B are the same “modulo N” if A and Bdiffer by adding N some number of times.

I We could say that a hamburger and a cheeseburger arethe same modulo cheese.

I Some people say Gauss invented modular arithmetic, buthumans have used it as long as we’ve had...

I clocksI weeksI gearsI moneyI ...

I It’s the beginning of the study of Number Theory.

Page 23: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

I The math of clocks is called Modular Arithmetic and N iscalled the modulus.

I Two numbers A and B are the same “modulo N” if A and Bdiffer by adding N some number of times.

I We could say that a hamburger and a cheeseburger arethe same modulo cheese.

I Some people say Gauss invented modular arithmetic, buthumans have used it as long as we’ve had...

I clocksI weeksI gearsI moneyI ...

I It’s the beginning of the study of Number Theory.

Page 24: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

I The math of clocks is called Modular Arithmetic and N iscalled the modulus.

I Two numbers A and B are the same “modulo N” if A and Bdiffer by adding N some number of times.

I We could say that a hamburger and a cheeseburger arethe same modulo cheese.

I Some people say Gauss invented modular arithmetic, buthumans have used it as long as we’ve had...

I clocksI weeksI gearsI moneyI ...

I It’s the beginning of the study of Number Theory.

Page 25: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

Let the festivities begin!

Page 26: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z2 0 10 0 01 0 1

Z3 0 1 20 0 0 01 0 1 22 0 2 1

Page 27: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z4 0 1 2 30 0 0 0 01 0 1 2 32 0 2 0 23 0 3 2 1

Z5 0 1 2 3 40 0 0 0 0 01 0 1 2 3 42 0 2 4 1 33 0 3 1 4 24 0 4 3 2 1

Page 28: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z6 0 1 2 3 4 50 0 0 0 0 0 01 0 1 2 3 4 52 0 2 4 0 2 43 0 3 0 3 0 34 0 4 2 0 4 25 0 5 4 3 2 1

Page 29: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z7 0 1 2 3 4 5 60 0 0 0 0 0 0 01 0 1 2 3 4 5 62 0 2 4 6 1 3 53 0 3 6 2 5 1 44 0 4 1 5 2 6 35 0 5 3 1 6 4 26 0 6 5 4 3 2 1

Page 30: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z8 0 1 2 3 4 5 6 70 0 0 0 0 0 0 0 01 0 1 2 3 4 5 6 72 0 2 4 6 0 2 4 63 0 3 6 1 4 7 2 54 0 4 0 4 0 4 0 45 0 5 2 7 4 1 6 36 0 6 4 2 0 6 4 27 0 7 6 5 4 3 2 1

Page 31: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication TablesZ9 0 1 2 3 4 5 6 7 80 0 0 0 0 0 0 0 0 01 0 1 2 3 4 5 6 7 82 0 2 4 6 8 1 3 5 73 0 3 6 0 3 6 0 3 64 0 4 8 3 7 2 6 1 55 0 5 1 6 2 7 3 8 46 0 6 3 0 6 3 0 6 37 0 7 5 3 1 8 6 4 28 0 8 7 6 5 4 3 2 1

Page 32: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks - Multiplication Tables

Z11 0 1 2 3 4 5 6 7 8 9 100 0 0 0 0 0 0 0 0 0 0 01 0 1 2 3 4 5 6 7 8 9 102 0 2 4 6 8 10 1 3 5 7 93 0 3 6 9 1 4 7 10 2 5 84 0 4 8 1 5 9 2 6 10 3 75 0 5 10 4 9 3 8 2 7 1 66 0 6 1 7 2 8 3 9 4 10 57 0 7 3 10 6 2 9 5 1 8 48 0 8 5 2 10 7 4 1 9 6 39 0 9 7 5 3 1 10 8 6 4 210 0 10 9 8 7 6 5 4 3 2 1

Page 33: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

1. When N is a prime number, then you can divide in ZN .2. This makes ZN a really great number system: it has +, −,× and ÷.

3. It’s even better than the integers (there’s no 1/2 in theintegers!).

Page 34: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

1. When N is a prime number, then you can divide in ZN .

2. This makes ZN a really great number system: it has +, −,× and ÷.

3. It’s even better than the integers (there’s no 1/2 in theintegers!).

Page 35: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

1. When N is a prime number, then you can divide in ZN .2. This makes ZN a really great number system: it has +, −,× and ÷.

3. It’s even better than the integers (there’s no 1/2 in theintegers!).

Page 36: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Clocks

1. When N is a prime number, then you can divide in ZN .2. This makes ZN a really great number system: it has +, −,× and ÷.

3. It’s even better than the integers (there’s no 1/2 in theintegers!).

Page 37: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

The graph of the line y = x + 2 in Z5:

2 X1 X0 X4 X3 X

3 4 0 1 2

The graph is a littlelike Asteroids!

Page 38: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

The graph of the line y = x + 2 in Z5:

2 X1 X0 X4 X3 X

3 4 0 1 2

The graph is a littlelike Asteroids!

Page 39: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

The graph of the line y = 3x + 4 in Z5:

2 X1 X0 X4 X3 X

3 4 0 1 2

Page 40: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

Image due to Diane Maclagan and Ben Davis

Page 41: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

Set images due to Diane Maclagan and Ben Davis

Page 42: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Set

http://www.setgame.com/

Page 43: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Here’s the graph of y2 = x3 − 3x + 6 in the usual world (realnumbers):

Page 44: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Adding two points to get another: P + Q + R = O.

Page 45: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Adding a point and its negative: P + Q + Q = O.

Page 46: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Adding a point and its negative: P +−P = O.

Page 47: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

A point which adds with itself to zero: P + P = O.

Page 48: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

The graph of y2 = x3 + 2x + 1 in Z5:

2 X X1 X04 X3 X X

3 4 0 1 2

This is called an“Elliptic Curve”

Page 49: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Here’s an elliptic curve in Z10007.

Page 50: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1

X

B0

X

4 -B3 -A -C

3 4 0 1 2

−A +−B + C = 0A + B = C

Page 51: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 X B0 X4 -B3 -A -C

3 4 0 1 2

−A +−B + C = 0A + B = C

Page 52: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 X B0 X4 -B3 -A -C

3 4 0 1 2

−A +−B + C = 0

A + B = C

Page 53: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 X B0 X4 -B3 -A -C

3 4 0 1 2

−A +−B + C = 0A + B = C

Page 54: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 B

X

0

X

4 -B3 -A

X

-C3 4 0 1 2

A + A +−B = 0A + A = BSo B = 2AFrom last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 55: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 B X0 X4 -B3 -A X -C

3 4 0 1 2

A + A +−B = 0A + A = BSo B = 2AFrom last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 56: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 B X0 X4 -B3 -A X -C

3 4 0 1 2

A + A +−B = 0

A + A = BSo B = 2AFrom last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 57: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 B X0 X4 -B3 -A X -C

3 4 0 1 2

A + A +−B = 0A + A = B

So B = 2AFrom last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 58: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 2A

X

0

X

4 -2A3 -A

X

-C3 4 0 1 2

A + A +−B = 0A + A = BSo B = 2A

From last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 59: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A C1 2A

X

0

X

4 -2A3 -A

X

-C3 4 0 1 2

A + A +−B = 0A + A = BSo B = 2AFrom last slide:C = A + B =A + 2A = 3A

So C = 3A

Page 60: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A 3A1 2A

X

0

X

4 -2A3 -A

X

-3A3 4 0 1 2

A + A +−B = 0A + A = BSo B = 2AFrom last slide:C = A + B =A + 2A = 3ASo C = 3A

Page 61: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 A 3A1 2A04 5A3 6A 4A

3 4 0 1 2

With a little morework, we find outthat −3A = 4A,−2A = 5A and−A = 6A, andfinally that 7A = O.

Page 62: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies - Elliptic Curve Addition Table

E O A 2A 3A 4A 5A 6AO O A 2A 3A 4A 5A 6AA A 2A 3A 4A 5A 6A O2A 2A 3A 4A 5A 6A O A3A 3A 4A 5A 6A O A 2A4A 4A 5A 6A O A 2A 3A5A 5A 6A O A 2A 3A 4A6A 6A O A 2A 3A 4A 5A

Page 63: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies - Modular Arithmetic Addition Table

Z7 O 1 2 3 4 5 6O 0 1 2 3 4 5 61 1 2 3 4 5 6 02 2 3 4 5 6 0 13 3 4 5 6 0 1 24 4 5 6 0 1 2 35 5 6 0 1 2 3 46 6 0 1 2 3 4 5

Page 64: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers, P = 9 and Q = 45 and Isaid,

“How many times need I add P to itself to get Q?”

I You would divide 45 by 9 and get the answer: 5. Division isfairly easy for integers!

I It takes more time as the numbers get bigger, but the timeit takes grows with the number of digits of the numbers.

Page 65: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers, P = 9 and Q = 45 and Isaid,

“How many times need I add P to itself to get Q?”

I You would divide 45 by 9 and get the answer: 5. Division isfairly easy for integers!

I It takes more time as the numbers get bigger, but the timeit takes grows with the number of digits of the numbers.

Page 66: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers, P = 9 and Q = 45 and Isaid,

“How many times need I add P to itself to get Q?”

I You would divide 45 by 9 and get the answer: 5. Division isfairly easy for integers!

I It takes more time as the numbers get bigger, but the timeit takes grows with the number of digits of the numbers.

Page 67: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers, P = 9 and Q = 45 and Isaid,

“How many times need I add P to itself to get Q?”

I You would divide 45 by 9 and get the answer: 5. Division isfairly easy for integers!

I It takes more time as the numbers get bigger, but the timeit takes grows with the number of digits of the numbers.

Page 68: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers modulo 5, P = 2 andQ = 3 and I said,

“How many times need I add P to itself to get Q?”

I This is trickier. You could complete a multiplication tableand look in it to search for the answer. It turns out there arefaster ways.

I The smartest algorithms (can you come up with one?), areabout as fast as division for the integers. The time it takesgrows with the number of digits of the modulus.

Page 69: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers modulo 5, P = 2 andQ = 3 and I said,

“How many times need I add P to itself to get Q?”

I This is trickier. You could complete a multiplication tableand look in it to search for the answer. It turns out there arefaster ways.

I The smartest algorithms (can you come up with one?), areabout as fast as division for the integers. The time it takesgrows with the number of digits of the modulus.

Page 70: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers modulo 5, P = 2 andQ = 3 and I said,

“How many times need I add P to itself to get Q?”

I This is trickier. You could complete a multiplication tableand look in it to search for the answer. It turns out there arefaster ways.

I The smartest algorithms (can you come up with one?), areabout as fast as division for the integers. The time it takesgrows with the number of digits of the modulus.

Page 71: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I Suppose I gave you two numbers modulo 5, P = 2 andQ = 3 and I said,

“How many times need I add P to itself to get Q?”

I This is trickier. You could complete a multiplication tableand look in it to search for the answer. It turns out there arefaster ways.

I The smartest algorithms (can you come up with one?), areabout as fast as division for the integers. The time it takesgrows with the number of digits of the modulus.

Page 72: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 P X1 X04 Q3 X X

3 4 0 1 2

I Suppose I gave you thepoints P and Q and I said

“How many times need Iadd P to itself to get Q?”

I You might remember thatwe found Q = 5P from ourmultiplication table.

I But it was a lot of work! Isthere an easy way to dothis?

Page 73: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 P X1 X04 Q3 X X

3 4 0 1 2

I Suppose I gave you thepoints P and Q and I said

“How many times need Iadd P to itself to get Q?”

I You might remember thatwe found Q = 5P from ourmultiplication table.

I But it was a lot of work! Isthere an easy way to dothis?

Page 74: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

2 P X1 X04 Q3 X X

3 4 0 1 2

I Suppose I gave you thepoints P and Q and I said

“How many times need Iadd P to itself to get Q?”

I You might remember thatwe found Q = 5P from ourmultiplication table.

I But it was a lot of work! Isthere an easy way to dothis?

Page 75: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

No one knows any efficient way to solve this problem!!

The time taken by good algorithms grows with about the squareroot of the size of the modulus.

Page 76: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

No one knows any efficient way to solve this problem!!

The time taken by good algorithms grows with about the squareroot of the size of the modulus.

Page 77: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Modern cryptography is based on mathematical operations thatare easy to do and hard to undo.Example:

I Getting pregnant.I Multiplying numbers is easy, but factoring them is hard.I On an elliptic curve, adding a point P to itself many times is

easy. Figuring out how many times it was added (if youweren’t watching) is hard. This is the elliptic curve discretelogarithm problem.

Page 78: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Modern cryptography is based on mathematical operations thatare easy to do and hard to undo.Example:

I Getting pregnant.

I Multiplying numbers is easy, but factoring them is hard.I On an elliptic curve, adding a point P to itself many times is

easy. Figuring out how many times it was added (if youweren’t watching) is hard. This is the elliptic curve discretelogarithm problem.

Page 79: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Modern cryptography is based on mathematical operations thatare easy to do and hard to undo.Example:

I Getting pregnant.I Multiplying numbers is easy, but factoring them is hard.

I On an elliptic curve, adding a point P to itself many times iseasy. Figuring out how many times it was added (if youweren’t watching) is hard. This is the elliptic curve discretelogarithm problem.

Page 80: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Modern cryptography is based on mathematical operations thatare easy to do and hard to undo.Example:

I Getting pregnant.I Multiplying numbers is easy, but factoring them is hard.I On an elliptic curve, adding a point P to itself many times is

easy. Figuring out how many times it was added (if youweren’t watching) is hard. This is the elliptic curve discretelogarithm problem.

Page 81: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bobsecret a bpublic aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 82: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bob

secret a bpublic aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 83: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bobsecret a b

public aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 84: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bobsecret a bpublic aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 85: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bobsecret a bpublic aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 86: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Alice and Bob want to share a secret.

A point P on an elliptic curve is general knowledge.

Alice Bobsecret a bpublic aP bP

Alice and Bob can both compute abP.

No one else can compute it!

Page 87: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

Here the size of the modulus N we use for this algorithm in yourweb browser, when you log onto a secure site:

N = 68647976601306097149819007990813932172694353

00143305409394463459185543183397656052122559640661454554977296311391480858037121987999716643812574028291115057151

Page 88: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 89: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 90: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 91: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 92: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems,

you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 93: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,

you would get job offers from every government in theworld, and would get invited on Oprah.

Page 94: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld,

and would get invited on Oprah.

Page 95: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

The Math of Spies

I The hard problem of factoring is used for cryptographycalled RSA.

I The elliptic curve discrete logarithm problem is used forelliptic curve cryptography (ECC).

I Together, these two hard problems are used for prettynearly all the cryptography in the modern world: your bank,your cell phone, your computer.

I (No one has come up with a security method based onpregnancy.)

I If you can come up with a fast algorithm for these hardproblems, you would immediately become hugely famous,you would get job offers from every government in theworld, and would get invited on Oprah.

Page 96: A Taste of Pi: Clocks, Set, and the Secret Math of Spiesmath.colorado.edu/~kstange/teach/Stange-Slides-Taste-Of-Pi.pdfThe Math of Clocks I The math of clocks is called Modular Arithmetic

Thank you!

I Thanks to SFU, Veselin Jungic, Malgorzata Dubiel andNadia Nosrati, and Jonathan Wise.

I And to you! Feel free to email me anytime (email on mywebsite).