I have been doing

x=$(){1..10}

to get a range of integers. Is there a better way? Also, how can I get a range that steps by 2 instead of by 1 as in

1 3 5 7 ...

Thanks!