Nice ending to #AdventOfCode - I'd seen balanced ternary before, but never had to figure out an algorithm to generate it. Then the complexity got bumped just a little for #BalancedQuinary.
Never heard of anybody using that before. Fortunately, the algorithm for generating balanced ternary basically worked.
QOTO: Question Others to Teach Ourselves An inclusive, Academic Freedom, instance All cultures welcome. Hate speech and harassment strictly forbidden.