PUZZLE #3608: Euclidean Algorithm (diff 5)
Euclid's algorithm finds the GCD of two numbers through repeated division. Given a = 144 and b = 60, run the Euclidean algorithm and count the number of division steps. Steps mod 26 → letter.
DATA
| A |
144
|
| B |
60
|
| Hint |
While b ≠ 0: (a, b) = (b, a % b). Starting from (144, 60), it takes 3 steps. 3 % 26 = 3 → 'd'.
|
| Answer Format |
single lowercase letter
|
author's note: Pool fill: euclidean-algorithm diff 5
— website sponsored —
[ ad space ]