The winner of the CodeFu 2015 Round 1 is Igor Kulev

The winner of the second tablet is Viktor Lukovic

The calculation for the random Samsung Galaxy Tab 4 tablet is (5 * 2 + 19 * 5 + 29 * 8 + 31 * 11 + 40 * 13) % 88 + 3 = 57

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

• 5 numbers will be taken from the Euro Millions Lottery 24th of April 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 88 and then added 3 (to get a range of 3-90, these are the competitors eligible for the prize)
• Example
Lottery numbers from a previous draw were 6, 14, 17, 42, 45
6 * 2 + 14 * 5 + 17 * 8 + 42 * 11 + 45 * 13 = 1265
1451 % 88 + 3 = 36  This means the person with number 36 (this is still an example) would receive the random iPod

The position numbers are:

3 Scentini
4 kujta1
5 ppetrov
6 Kuzmanoski
7 yoyoyoman
8 VikiP
9 jovank
10 Natasha
11 MTrajk
12 sonne
13 Kjosev
14 AleksovskiStefan
15 vavio
16 genius_mkd
17 haris
18 Dvorog
19 R2D2
21 acker
22 roberto
23 VasilK
24 Awesomeness
26 Denis
27 schkolski
29 tStojkovski
30 Lepluto
31 shokymk
32 Goran1
33 dime_a
34 mboncanoski
35 pali_gasi
36 w1cker
37 unknownPlayer
38 MrInF3ction
39 crazystuff
40 despotovski01
41 zigfrid
42 darko
43 naim
44 ivanB
45 Nikola
46 WpXAce
47 att
48 m_aleksandar
49 KGB
50 kosta984
51 wodahs
52 T1T4N
53 bigf00t92
54 nakamoto
55 mariomako
56 srgjanx
57 viktor11
58 stojkowski
59 decobt
60 Gjorgji
61 mico
62 dekob_
63 Phreakout
64 snajdov
65 ThresherMaw
66 Vele
67 Mirage
68 songoku
69 Vikjan94
70 c3po
71 vasilmkd
72 hristijanveselinoski
73 Davd
74 Leon123454321
75 scmakru
76 MartinM993
77 Solev
78 IlijaNikolovski
79 trajches
80 marinailioska
81 Txe
82 martinbt
83 anoviana
84 luminarc
85 papalevski
86 petar_gjeorgiev
87 bojanp94
88 shupa
89 biljanaristovska
90 mmK