A single digit puzzle solver