EveryCircuit
Contact
Reviews
Home
maxmax_66
modified 3 years ago

Prime Number Detector

7
4
330
03:50:23
A 4 bit prime number detector able to detect all primes from 1 to 15. Topology includes three inverters, one AND gate, three triple input AND gates and one 4 input OR gate.I have also included a binary to decimal converter. Simply input binary number using the logic sources (LSB at far right, MSB at far left). Green LED lights up upon detecting a prime number
published 3 years ago
Igor
3 years ago
Very cool :)
592azy2circuitdude
3 years ago
I'm curious about the counter. I see how it loads the binary number to the decimal converter logic gates, but why not just connect the logic sources directly to the converter gates?
maxmax_66
3 years ago
You’re right. I considered an auto sequence but opted for a manual setup. Seemed easier to leave it in for others to mess around with then rewire it.
maxmax_66
3 years ago
Thanks Igor.

EveryCircuit is an easy to use, highly interactive circuit simulator and schematic capture tool. Real-time circuit simulation, interactivity, and dynamic visualization make it a must have application for professionals and academia. EveryCircuit user community has collaboratively created the largest searchable library of circuit designs. EveryCircuit app runs online in popular browsers and on mobile phones and tablets, enabling you to capture design ideas and learn electronics on the go.

Copyright © 2026 by MuseMaze, Inc.     Terms of use     Privacy policy