For those that dabble in large log files, this is an excellent tool for filtering through and extracting just the information you need. I've been a long time user of this program and I just realized it hasn't been linked to here on HN.
192 karma · joined July 20, 2015
- either you unconditionally append a new digit to Z
- or you conditionally either:
- replace the last digit in Z with a new one
- or you remove the last digit in Z
The only way you would end up with a 0 at the end is if every one of those conditions evaluates such that you always remove the last digit of Z. Each of those 7 conditions constrains 2 of the input digits at a time, and once you list out those conditions, you're done.
Edit: Accessible version of the article here. https://books.google.co.in/books?id=2gk-2rP34LIC&pg=RA2-PA14...
Today's update isn't there yet but should be shortly.