Turing Tumble Community

Divison Machine

A division machine invented by a 12 year old. Can divide a number up to 15 by a number up to 3. It runs out of blue marbles regularly, esp for larger numbers.

The number you are dividing is set with the blue arrows on the left-- the middle two represent 1 and 2, the bottom two represent 4 and 8. Pointing left is a zero and pointing right is whatever binary number the arrow represents.

The number you are dividing by is set with the two leftmost green pieces on the third row, where the one on the left represents two and the one on the right represents one. They are opposite in their directions- this picture shows both set to “on”; they are flipped upside down to turn off.

The answer is represented on the right. The blue arrows represent 1, 2, and 4 from top to bottom, with pointing left meaning off and pointing right meaning on.

It stops by itself when it finishes calculating the answer. It can overflow on output (if a red marble gets stopped).

That’s a clever solution! I like your use of Gearbit groups to guide the ball direction when you ran out of ramps. I think your method is the slowest way to make the calculation without adding useless steps.

I hope you were not testing us; there is an error in the initial setup shown in the photo. The top two Bits on the left must point to the right before releasing the first blue ball. Otherwise, the quotient is incremented before the dividend is decremented.

Can you describe how to read the remainder of the division? I believe it can be determined from those top two Bits on the left.