Rule-based random picks for Lotto 6/49 and EuroJackpot.
Maximum 12 for Lotto 6/49.
Requires at least two numbers above the day-of-month threshold so lines are not made up only of low “birthday-style” picks.
Caps how many adjacent pairs (e.g. 12 and 13) may appear on the main line so runs of consecutive numbers stay short.
Keeps the sum of the six main numbers inside a band that many historical draws fall into.
Keeps the sum of the five main numbers inside a band suited to the 5/50 matrix.
If both Euro numbers are adjacent (e.g. 4 and 5), reject and redraw with this probability to avoid very popular consecutive pairs.