Taking it to mean that in a typical 6/49 game, where six numbers are drawn from a range of 49, you choose, say, 10 numbers, and get ,say, 4 of the six numbers drawn correct, i.e. N = 49, K = 6, T=10,B = 4 for this example ?
$Pr = \dfrac{\binom{K}{B}\binom{N-K}{T-B}}{\binom{N}{T}}$