I have been reasearching the internet for a few days now trying to figure out what we call here in México "Ruedas o Reducciones" of combinations, these are simple ways of reducing the numbers of tickets you need to buy to get "the most" out of your money.
In the lotto I play you pick 5 out of 28 numbers. But I pick 8 numbers, and instead of buying 56 tickets, and I make 5 combinations:
This guarantees that if the 5 winning numbers are in my 8 numbers, at least one of my tickets will have 4 hits.
I came across this post, and it is kind of similar to what I'm looking for, but not as complex.
What I want to know is 2 things:
1. If I want to make a "reduction", picking 14 numbers (instead of 8) out of the 28, while guaranteeing at least 1 ticket with 4 hits (if the 5 winning numbers are in the 14 I picked), how can I calculate the minimum ammout of tickets I have to buy and which are the combinations?
2. Is it possible to make it generic? Having "X" being the total lotto numbers, "Y" the total numbers you pick, "W" the total winning numbers and "Z" the guaranteed numbers of hits in at least 1 ticket.
I hope it is clear.