Alex XV Posted October 2, 2015 Share Posted October 2, 2015 (edited) This is just me testing lotteries. So the prices may be all wrong... I appreciate everyone willing to try this. Lottery will only be drawn if at least 3 people buy a ticket. Next drawing on 13th October Instead of having a random number generator choose your ticket or a number you picked I will be using a random number genrator to pick 2 of the prime numbers 2-50 and 1, this allows having lottery numbers 1-100. Prices: Number One (number): 5.000 One ticket: 50.000 Two tickets: 95.000 Three tickets: 135.500 Pick a number between 2-100 Each prime number costs 50.000 Multiples of the same prime number are ignored Messege me with the amount of tickets and numbers you want to buy in-game I will make a personal trade with iron This is how it works: Person1 picked number 21: prime numbers = 3, 7 Person2 picked 7: prime numbers = 7 Person3 picked 42: prime numbers = 2, 3, 7 Person4 picked 14: prime numbers = 2, 7 Person5 picked 2: prime number 2 The prime numbers 3 and 7 were picked. For each prime number you had in your ticket the potential payout increases by 100.000. From the start you get 100% payout but for each prime you did not have the payout is decreased by the percentage that prime had. Multiples of the same prime number are completely ignored. So: Person1 = (100.000+100.000)-0%=200.000 Person2 = (100.000)-0%=100.000 Person3 = (100.000+100.000+0)-33%=132.000 Person4 = (100.000)-50%=100.000 Person5 = (0)-100%=0 Base price for a ticket is 50.000 For each next ticket the price is 10% less Second ticket 45.000, third 40.500. Max 3 tickets can be bought Each prime number in the number you choose costs 50.000 Profits: Person1: 50.000 Person2: 0 Person3: -68.000 Person4: 0 Person5: -100.000 Edited October 2, 2015 by Tomas Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.