Mathematics for Computer Science
MIT 6.042J/18.062J
Number Theory: Die Hard Unique factorization
Generalized Die Hard
Did it with buckets: 3 gal. & 5 gal. 3 gal. & 9 gal. Now a gal. & b gal.?
Albert R Meyer March 5, 2012
lec 5M.1
Albert R Meyer March 5, 2012
lec 5M.2
Generalized Die Hard Generalized Die Hard
Under Die Hard rules, Under Die Hard rules, gal.’s in each bucket are gal.’s in each bucket are linear combinations multiples of gcd(a,b)
- f a and b
- f a and b
Albert R Meyer March 5, 2012
lec 5M.3
Albert R Meyer March 5, 2012
lec 5M.4