100 bounty: Minecraft redstone prime checker
What it says on the tin.
My version of a valid prime checker uses:
- levers as input (ON = 1, OFF = 0), representing a binary number
- redstone lamp as output (ON = prime, OFF = not prime)
I offer 100 reputation to make an expandable prime checker - that means that you can expand the prime checker in any direction infinitely, with minimal redstone wiring (connect the two "modules" together using redstone) and the prime checker still works.
You are allowed to use any block except for structure blocks and command blocks.
Do I need more clarification?