Ask HN: algorithm to slice a number into parts · HackerTrans