No idea how to attack this question, full question being:
"Design a combination circuit which can detect prime numbers from 0 to 15. There should be a single output line, which would be 1 if the input is a prime number, otherwise the output line would be 0"
How would I go about completing this question? It looks fairly involved.