You may find the following interesting.
I think what you're asking for is the minimum cardinality of a code of length p over the alphabet Zn (the integers mod n, assuming) the possible numbers are 1,2,ldots,n−1 with covering radius p−q. This is in general a very hard NP-complete problem.
Given two vectors x,y in Zpn, their Hamming distance d(x,y) is defined as the number of coordinates on which they differ. Given a subset C of Zpn which corresponds to the collection of lottery selections, the covering radius R(C) is
R(C)=maxd(x,C)
where the maximum is taken as x ranges over Zpn and where d(x,C)=mind(x,c) with the minimum taken over cinC. When you think about it, you're asking for the minimal cardinality code with covering radius p−q, i.e., with p−q wrong numbers out of p.
In general there are bounds on R(C) and the case n=3 is of interest in football [soccer] pools. The Golay code is relevant here since it is a perfect ternary code with good covering radius.
There was a nice article MAA monthly years ago entitled something like "football pools, a problem for mathematicians".
No comments:
Post a Comment