Skip to content

Commit

Permalink
adding combinatorics
Browse files Browse the repository at this point in the history
  • Loading branch information
josd committed Jan 8, 2025
1 parent 9435d83 commit 9381275
Show file tree
Hide file tree
Showing 10 changed files with 9,439 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reasoning/combinatorics/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-------------
Combinatorics
-------------

See https://en.wikipedia.org/wiki/Combinatorics
34 changes: 34 additions & 0 deletions reasoning/combinatorics/combination-answer.n3
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
@prefix : <http://example.org/#>.

(0 (1 2 3 4 5)) :combination ().
(1 (1 2 3 4 5)) :combination (1).
(1 (1 2 3 4 5)) :combination (2).
(1 (1 2 3 4 5)) :combination (3).
(1 (1 2 3 4 5)) :combination (4).
(1 (1 2 3 4 5)) :combination (5).
(2 (1 2 3 4 5)) :combination (1 2).
(2 (1 2 3 4 5)) :combination (1 3).
(2 (1 2 3 4 5)) :combination (1 4).
(2 (1 2 3 4 5)) :combination (1 5).
(2 (1 2 3 4 5)) :combination (2 3).
(2 (1 2 3 4 5)) :combination (2 4).
(2 (1 2 3 4 5)) :combination (2 5).
(2 (1 2 3 4 5)) :combination (3 4).
(2 (1 2 3 4 5)) :combination (3 5).
(2 (1 2 3 4 5)) :combination (4 5).
(3 (1 2 3 4 5)) :combination (1 2 3).
(3 (1 2 3 4 5)) :combination (1 2 4).
(3 (1 2 3 4 5)) :combination (1 2 5).
(3 (1 2 3 4 5)) :combination (1 3 4).
(3 (1 2 3 4 5)) :combination (1 3 5).
(3 (1 2 3 4 5)) :combination (1 4 5).
(3 (1 2 3 4 5)) :combination (2 3 4).
(3 (1 2 3 4 5)) :combination (2 3 5).
(3 (1 2 3 4 5)) :combination (2 4 5).
(3 (1 2 3 4 5)) :combination (3 4 5).
(4 (1 2 3 4 5)) :combination (1 2 3 4).
(4 (1 2 3 4 5)) :combination (1 2 3 5).
(4 (1 2 3 4 5)) :combination (1 2 4 5).
(4 (1 2 3 4 5)) :combination (1 3 4 5).
(4 (1 2 3 4 5)) :combination (2 3 4 5).
(5 (1 2 3 4 5)) :combination (1 2 3 4 5).
Loading

0 comments on commit 9381275

Please sign in to comment.