Merchandise is assigned to certain amount of numbers, users get one number for every token spent.
Same product can be purchased for multiple times。
When all the numbers are distributed, the system generates a lucky number according to the algorithmic method.User who own this number acquires the merchandise.
Method to Generate The Lucky Number
When the last number of a merchandise is distributed, the website posts the last 50 participation time of all merchandise on the notice board.
The system calculates the sum of all numerical values of all participation time posted and comes up with a number A.
Divide the number A by the number of users participated in this merchandise and get a remainder B. The lucky number is generated by the addition of the remainder B and the raw value 10000001.