08-24-2016, 05:48 PM
^ Here is a completed version of an adjustable one. The hopper on the left is the input for the divisor, the other hopper is the input for the dividend. This loops the dividend to the left when it can be divided, looping it back to add 1 to a counter and subtract from the dividend until it has less than enough to divide, the right side will detect the remainder, pass it, and seal the ouput.