This website requires JavaScript.
Explore
Help
Sign In
patrick
/
anthem
Watch
1
Star
0
Fork
You've already forked anthem
0
Code
Issues
15
Releases
21
Activity
develop
anthem
/
examples
/
prime.lp
5 lines
96 B
Plaintext
Raw
Permalink
Blame
History
#show prime/1.
composite(I * J) :- I = 2..n, J = 2..n.
prime(N) :- N = 2..n, not composite(N).
Reference in New Issue
View Git Blame
Copy Permalink