Professional Documents
Culture Documents
Floor and Ceiling Function
Floor and Ceiling Function
Floor and Ceiling Function
Functions
Floor and Ceiling
Properties of gcd
• gcd(a, b) = gcd(b, a) = gcd(a, –b).
• gcd(a, b) = gcd(b, a – bq) for any integer q.
• gcd(a, b) = ma + nb for some m, n Z.
• If d | ab and gcd(d, a) = 1, then d | b.
Floor and Ceiling
If you need 11 pens, and they are sold in packages of 3, you need to
buy packages.