anthem/examples/prime.lp
Patrick Lühne d3e160222a
Remove obsolete code in examples
These lines of code were commented out and can be safely removed.
2018-04-22 22:12:02 +02:00

5 lines
96 B
Plaintext

#show prime/1.
composite(I * J) :- I = 2..n, J = 2..n.
prime(N) :- N = 2..n, not composite(N).