Set Equality Counts
A challenge by
mousetail
Description
It is impossible for sets of certain sizes to have certain total numbers of equalities. For example, a set of 3 items can not have 2 equalities or by the transitive property the third pair must also be equal.
For each number between 1 and 30, print each possible number of equalites separated by spaces, in ascending order and including 0. Each set of numbers should be on it’s own line.
Leaderboard
| Author | Points | ||
|---|---|---|---|
| #1 |
|
ovs-code | 81 |
| #1 |
|
lukegustafson | 81 |
| #3 |
|
NicknamedTwice | 84 |
| #4 |
|
mousetail | 86 |
| #4 |
|
mousetail | 86 |
| #6 |
|
xnor-gate | 89 |
| #6 |
|
EroticShiveringKingBanana | 89 |
| #8 |
|
b-kamphorst | 97 |
| #8 |
|
AlephSquirrel | 97 |
| #10 |
|
MeWhenI | 103 |