Added Schur numbers example.

This commit is contained in:
Patrick Lühne 2017-06-12 02:27:57 +02:00
parent a4cd133ba7
commit c1899a6347
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -0,0 +1,5 @@
{in(1..n, 1..r)}.
covered(I) :- in(I, S).
:- I = 1..n, not covered(I).
:- in(I, S), in(J, S), in(I + J, S).