Saturday, September 23, 2017

Choosing lottery numbers by rotation method

Another possible interesting way to play the lottery is by rotating previous draw(s).

Here's how:
If we're playing Lottery 6/49: the max number is 49.
We will rotate/shift each number by the same amount that each number indicates.

For example:
If the number is 2 we rotate it by 2 so it's 4 (2 + 2).
If the number is 45 we rotate it by 45 so it's 41 (45 + 45 = 90, it's greater than our max 49, so we mod it 90 by 49 to get 41).

We do this for every number of the previous draw and we'll get a new set of numbers to play.
If we happen to get duplicates in our rotated numbers, we can just rotate it again.

So in our example.
2 will give us 6 because 2 + 2 + 2 = 6.
45 will give us 37 because 45 + 45 + 45 = 135 and 135 mod 49 = 37.

So here's a javascript program that will rotate numbers for you.

Enter numbers separated by hyphens(-) or spaces:
Previous winning numbers 
Maximum number 
Rotated numbers will be generated below: