Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Testing for Divisibility by 19.
- Triple the last digit and add the next-to-last.
- Triple that and add the next digit over.
- Repeat until you've added the leftmost digit.
(Spot the pattern? Even works for divisibility by 09, where one has to multiply by one each time)
There are no comments on this comment yet.
- Triple the last digit and add the next-to-last.
- Triple that and add the next digit over.
- Repeat until you've added the leftmost digit.
(Spot the pattern? Even works for divisibility by 09, where one has to multiply by one each time)