Hi!
I think that there is a mistake in your question: only the first student says 5, not each student.
From the second student on, the student will say the previous number +4-1, that is the previous number +3.
So the second student will say 8, third 11, etc...
this will be repeated 9 times when Victor says his number (the first student doesn't have to change anything), so the number will increase 9 times: so it will increase 9*3=27
So Victor will say 32: 27 plus the original 5.
And all the numbers said will be:
5
8
11
14
17
20
23
26
29
32 - Victor