Computer science of the future

In a parallel universe computers are designed to run on a base 3 system with digits +1, 0 and -1. A current going in one direction means +1, represented as "+", while a current going in the opposite direction means -1, represented as "-". No current at all means the digit 0.

The base 2 system like ours was tried there too, but rejected right at the start as requiring too much wiring and too much code to handle the problems of negative numbers. Their base 3 system includes negative numbers automatically. For example, four is "++" while -4 is "--". Two is "+-" and -2 is "-+". No problem.

Addition rules are easy too. Adding "+" and a "+" gives you "+-", adding "-" and "-" produces "-+". It goes on, and it is a lot if fun. However, our question is:

Is +-++0-0+++-00+-- odd of even?

odd The number is nonsensical even The answer cannot be determined without first evaluating the number

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Marta Reece
May 2, 2016

Divisibility by 2 in a base 3 is easy. Two is one less than the base, so all we have to do is add the digits and see if the sum, which in this case is 2 (or "+-") is divisible by 2. The digits being negative does not change the reasoning.

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...