Do homem bash:
Arithmetic Expansion
Arithmetic expansion allows the evaluation of an arithmetic
expression and the substitution of the result. The format
for arithmetic expansion is:
$((expression))
The old format $[expression] is deprecated and will be
removed in upcoming versions of bash.