I've got a (what I think is) combinatorial problem: assume we have $n$ different elements, and we want to use these elements to construct some sets, each of which contains $m<n$ different elements. Moreover, for any two such sets, they should differ in at least some $k<m$ elements. (For example, if we have set $A=\{1,2,3,4,5\}$ and $B=\{1,6,7,8,5\}$, then they differ in three elements.) So, the question is, given $m$, $n$ and $k$, how many such sets (sets of size $m$) exist?
Thanks in advance!