The winner of the CodeFu 2017 Round 1 is Vladimir Maksimovski

The winner of the second tablet is Filip Spasovski

The calculation for the random tablet is (3 * 2 + 7 * 5 + 30 * 8 + 35 * 11 + 43 * 13) % 46 + 3 = 32

In order to be transparent with the choice, the following algorithm will be used:

• 5 numbers will be taken from the Euro Millions Lottery 5th of May draw
• You can see the numbers here
• Those 5 numbers will be sorted
• Then multiplied with the following factors: 2 for the smallest number, 5, 8, 11 and 13 for the biggest number, and then a total sum calculated
• Note: The factors: 2, 5, 8, 11, 13 are chosen so that there is a smallest deviation among all possibilities, i.e. all positions have the same (or very close) possibility for being a winner
• The total sum will be cut modulo 46 and then added 3 (to get a range of 3-48, these are the competitors eligible for the prize)
• Example
Lottery numbers from a previous draw were 4, 13, 30, 34, 47
11 * 2 + 14 * 5 + 15 * 8 + 27 * 11 + 44 * 13 = 1081
1081 % 46 + 3 = 26 This means the person with number 26 (this is still an example) would receive the tablet

The position numbers are:

3 playmid
4 josiftepe
5 Dekacc
6 wawa
7 sonne
8 vasja
9 SimpleMind
10 yoyoyoman
11 Filip00
12 iletavcioski
13 despotovski01
14 Baltazar
15 Suvorov
16 Denis
17 kujta1
18 velikov_p
19 Lepluto
20 acker
21 vavio
22 MTrajk
23 Goran1
24 exe
25 gpop
26 mico
27 blagojDimovski
28 weirdone
29 i_arsovski
30 shupa
31 fdespotovski
32 fspasovski
33 Amigo996
34 Esgaroth
35 TheF
36 dusante1
37 Sentient6
38 maririna
39 kikokolev
40 mboncanoski
41 chip
42 dimitar12345
43 demboy
44 atanasmk16
45 duklin
46 Stefanija_Trajkova
47 ilijev07
48 andjiev