News for hackers. Stuff that matters.
Re:Testing for Divisibility by 19 by Someone on Monday November 23, 2020 @05:36AM (#25185372)
Similarly, for divisibility by 29:

- 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.