The author shunned mathematics in favor of programming, but this exercise showed why that was a mistake.
Compared to serious mathematics, programming is relatively trivial.
With mathematics, you can do anything in computing.
Without it, you're reduced to this feeble exercise in self-enlightment.