Added fast-cheap-good picture, tidyied some formatting
[cipher-training.git] / slides / affine-encipher.html
index 1a09109d9920a0f07cf70174300d05d61aaadaf8..30f3900f7525cb694ce2fdbcb79df60d40b7f9e5 100644 (file)
@@ -101,7 +101,7 @@ World's oldest algorithm.
 
 _a_ = _qb_ + _r_ ; gcd(_a_, _b_) = gcd(_qb_ + _r_, _b_) = gcd(_r_, _b_) = gcd(_b_, _r_)
 
-Repeatedly apply these steps until _r_ = 0, when the other number = gcd(a,b). For instance, _a_ = 81, _b_ = 57
+Repeatedly apply these steps until _r_ = 0, when the other number = gcd(_a_, _b_). For instance, _a_ = 81, _b_ = 57
 
 * 81 = 1 × 57 + 24
 * 57 = 2 × 24 + 9
@@ -130,6 +130,8 @@ Can we do this in one pass?
 
 # Triple constraints
 
+.float-right[![right-aligned GCD](fast-good-cheap.gif)]
+
 ## Fast, cheap, good: pick two
 
 ## Programmer time, execution time, space: pick one, get some of another.