← News

TMUA results raffle: the winning number is 14

The winning entry number in the TMUA results raffle is 14! 🎉

Here is the full calculation, using our standard prize-draw method if you like to try it yourself.

The calculation

The entrants. There were M=345M = 345 entrants, numbered 00 to 344344 in account-creation order. Everyone received their number by email yesterday morning, before the draw.

The Lotto results. The draw used was the National Lottery Lotto on Saturday 21 November 2026. Its main numbers, Bonus Balls excluded and each round in ascending order, were:

  • Round 1: 9, 29, 30, 42, 45, 46
  • Round 2: 6, 20, 45, 56, 58, 59

These give the exact string

9-29-30-42-45-46|6-20-45-56-58-59

The hash. Its SHA-256 hash is

250085df76901ad8f184bae0b5c7f606496ddc2b1ecaa887731184d67d14e96f

Read as a single number in hexadecimal, this is the 77-digit number

16736499354399218012507849798520214209352945000656961268537883121492061120879

The winning number. Dividing this by 345345 leaves a remainder of 14.

In Python, you can just do int(hashlib.sha256(b"9-29-30-42-45-46|6-20-45-56-58-59").hexdigest(), 16) % 345 (after import hashlib).

Congratulations to number 14, and thank you again to everyone who shared their score. It really helps the students who come after you!