This website works better with JavaScript
Home
Explore
Help
Sign In
CNI
/
Prlog
Watch
2
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Browse Source
Create composed relation
DricomDragon
5 years ago
parent
323a4808a5
commit
187c2d683c
1 changed files
with
3 additions
and
0 deletions
Split View
Show Diff Stats
3
0
tp/1/prime.lp
+ 3
- 0
tp/1/prime.lp
View File
@@ -0,0 +1,3 @@
+% Define
+#const n = 10.
+compose(N) :- N=1..n, I=2..N-1, N\I = 0.