223k views
2 votes
In his 2007 book I Am a Strange Loop, Douglas Hofstadter uses an analogy based on a domino computer.

Indeed, it is possible to build logical doors made of dominoes (see e.g. here) and realize simple programs such as an adder (see here).

For definiteness, let’s imagine a "domino computer" able of determining whether an integer (entered in binary) is prime or not. The result is read on the last domino. If the latter falls, the number is prime. If it remains standing, the number is not prime.

Now, assume we enter the number 7 as input in the algorithm. The last domino falls.

1 Answer

2 votes

Final answer:

The question is about building a domino computer to determine if a number is prime or not.

Step-by-step explanation:

The subject of this question is Computers and Technology. The question asks about the concept of building a domino computer and using it to determine whether a number is prime or not. The question refers to an example where the number 7 is entered as input and the last domino falls, indicating that 7 is prime.

User Scott Byers
by
8.2k points