[math-fun] N/b gives 'a' as remainder