Let I have a $0-1$ set of $n$ elements, where $n\ge 3$.
Now this set has $C_n^3$ triples (subsets of 3 elements).
Each triple can have either even amount of 1's (0 or 2) or odd (1 or 3). I'll call them even/odd triples.
Now the question: for any number $p\in[0,~C_n^3]$, there exists a set that has $p$ even triples.
Example for $n = 4$:
- Set has no even triples. Such set is $\{1,1,1,1\}$ and all of it's triples are $\{1,1,1\}$.
- Set has one even triple. Such set is $\{1,0,0,0\}$. One triple is $\{0,0,0\}$ and $3$ others are $\{1,0,0\}$.
- Set has two even triples. Such set is $\{1,1,0,0\}$. $2$ triples are $\{1,1,0\}$ and other $2$ are $\{1,0,0\}$.
Negating 1st and 2nd sets will give examples of sets containing $3$ and $4$ even triples.
This shows that for $n \leq 4$ answer for question is true, but is it true for any $n$?