Practice Problems Week 10
- You may collaborate with up your peers.
Problems
- Perform the following conversions:
- 27 in base 10 to base 2
- 1111111 in base 2 to base 10
- 101 in base 10 to base 2
- Compute GCD(1240, 6660)
- Let a be a positive integer. Prove that GCD(a, a+1) = 1
- Prove that GCD(a, a+2) = 1 if a is odd, and GCD(a, a+2) = 2 if a is even
- Show that if $a \equiv b (\text{mod n})$ and if $b \equiv c (\text{mod n})$, then $a \equiv c (\text{mod n})$
- Simplify the following congruences:
- $15x \equiv 9 \text{ (mod 25)}$
- $6x \equiv 3 \text{ (mod 9)}$
- $14x \equiv 42 \text{ (mod 50)}$
- Describe the general solution for x and y, if it exists: $35x + 47y = 1$
References:
Problems 1-3 were drawn from: