Probability is very difficult to understand. It is easy to calculate wrong, and the mathematics for it are above most peoples understanding. I myself keep picking the wrong answers if I just rely on what I read and what would seem to be correct.
I like to verify things programmatically. It is usually easier to understand the logic in a test than in mathematical equations. It does not prove anything, but it gives us an easy way of seeing some numbers. And it is much easier to understand numbers than equations.
This repo will try to include a lot of typical probability questions an average person could think of.
This includes different lotto probability checks
Two adjacent numbers
How often does a draw of lotto numbers include two adjacent numbers? It will change with the numbers you have to pick from, and how many numbers you must pick, but here is a list from doing 10 millions draw each time
For 34 numbers where you pick 7 (standard norwegian lotto)
For 48 numbers where you pick 6 (standard norwegian viking lotto)
Picking same numbers vs picking different numbers
Is it smart to pick the same numbers each week, or should you pick different numbers? What is best?
Each run tests 10000 rounds of first winner
I guess it does not really matter what you do, there is no real difference.
Picking same numbers with adjacent vs picking different numbers
Ok, we saw that it is very probable that you will find two numbers adjacent in a winning draw. So perhaps you then think it is smart to pick two numbers adjacent when you set up your numbers? Well, let us test
Each run test 1000 rounds of first winner, same as picking same numbers, but we're making sure we have at least two adjacent numbers in our same numbers. The different numbers are just random.