US jackpots have gotten so big, it becomes mathamatically possible to buy a ticket with every possible combination of numbers, (so you are sure you will win, not just the big prize, but a whole bunch of small ones ( 1 set of 6 winning numbers, 6 sets of 5 winning numbers, some impossible big number of 4 winning numbers.) Even if 1 (one) other person also picks the big one, you will still win enough to cover the cost of buying all the tickets!

however, its almost impossible to do, because only authorized dealers sell the tickets, and you'd have to be able to hack into their machines, to run an app to generate the complete set of numbers.. and the states main frames not be able to handle the load. cranking the number out one by one would be way to slow..