Aristotle's Number Problem This solution is based on the code-golf problem "Solve Aristotle's Number Problem". You can find my answer here. Enjoy!