Algorithm instead of randomness
HOW IT WORKS
SELECT TICKET
ENTER NUMBER
SEE RESULT

Winner = (Sum of all numbers) mod (Total tickets)