The sum with module 5 is: first the sum of the two values (example 1+4) is made, then the result is divided by 5 and the module is the rest of the division. Example ((1+4) / 5) = 1 and the rest = 0. For this 5 % 5 = 0 Examples are in the table below.

Adittion %5 0 1 2 3 4
0
1
2
3
4