Bash does not support variables in brace range expansions due to the order of expansion. To work around this limitation, use arithmetic for loops for integers or carefully constructed eval statements for more complex ranges.