# The winner of the CodeFu Seasonal 2010 Autumn is Stefan Spasovski

## The winner of the second iPod Touch is Ilija Trbogazov

The random winner of the second iPod is chosen with the algorithm below:

Lottery numbers from the 17th December were 3 20 29 35 42
3 * 2 + 20 * 5 + 29 * 8 + 35 * 11 + 42 * 13 = 1269
1269 % 79 + 2 = 7

Position 7 in the predefined list is user Antagonist

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

• 5 numbers will be taken from the Euro Millions Lottery 17th of December 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 79 and then added 2 (to get a range of 2-80, these are the competitors eligible for the prize)
• Example
Lottery numbers from the last week were 4, 8, 21, 35, 45
4 * 2 + 8 * 5 + 21 * 8 + 35 * 11 + 45 * 13 = 1186
1186 % 79 + 2 = 3 This means the person with number 3 (this is still an example) would receive the random iPod

The position numbers are:
2 toroman
3 Vojce
4
vasja
5
jovank
6
mg
7
Antagonist
8
9
acker
10
bojanv91
11
filipbitola
13 Zlate87
14 stpanov
15 prankmaster
16 angel
17 delixd
18 igorkulev
19 dragan.nikolov
20
obi1kenobi
21
darkomk
22
kujta1
23
Krcko
24
vikjo
25
MrDrunk
26
tomazi
27
mj
28
LosT_in_SpaCe
29
vl4d1m1r4
30
time_bandit
31
Nikola
32
emimarkovska
33
Gocepp
34
gorgiRankovski
35
mogi
36
Daniel
37
lunatic3331
38
bojanserafimov
39
p.bojan
40
yoyoyoman
41
spiro_dt
42 Kex
43 darkoatanasovski
44 nikolakoco
45 Vojtex
46 teddy
47 aleksandaril
48 moondowner
49 kosta984
50
ssBarBee
51
marinailioska
52 gella
53 bojanilijoski
55 j_talevska
56 Moonlight
57 mafy_b
58 lazzrov
59 fau2
60
DevGeek
61 majstorot
62 domenica
63 XtendT
64 nikol4e
65 mangelovski
66 bobby
67 Donkey
68 CursedPerVerse
69 bilievsk
70
Ilija139
71
kareski
72
bakobako
73
Vlatko
74
xorvat4eto
75
cociivanovski
76
dujovski
77
aleksandar_89
78
gnud
79
Noelija
80
mdocevski