Yes, the forward slash does represent division. It divides the value of y by three. If you're looking for a remainder, I would suggest using the modulus operator(%).
It's integer division, so 1/3 = 0. Though actually it's 0 remainder 1. If you want the remainder, use 1%3 -- the modulo op -- as Code Assassin suggested)
0/3 = 0 R 0
1/3 = 0 R 1
2/3 = 0 R 2
3/3 = 1 R 0
4/4 = 1 R 1
...