Yes, but both are correct (there is no 'right' one in the meaning that only one works). When you use $(( expression )) you don't need to add '$' in front of variables in expression.
If you don't believe me...