Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Euclid's Algorithm: An Analysis.
221 = 2 * 85 + 51 85 = 51 + 34 51 = 34 + 17 34 = 2 * 17 + 0
51 = 34 + 17, so 51 = (2 * 17) + 17 = 3 * 17 85 = 51 + 34 = (3 * 17) + (2 * 17) 85 = 5 * 17 221 = 2 * (5 * 17) + (3 * 17) 221 = 13 * 17
Bonus: This also gives us a way to write 17 as an integral combination of 221 and 85. We also get this by rearranging the parts:
17 = 51 - 34 34 = 85 - 51 51 = 221 - 2 * 85
17 = 51 - (85 - 51) 17 = 2 * 51 - 85 17 = 2 * (221 - 2 * 85) - 85 17 = 2 * 221 - 3 * 85
Bonus: This also gives us a way to write 17 as an integral combination of 221 and 85. We also get this by rearranging the parts:
so