using variables inside selectors

using variables inside selectors

Hi there,
is possible to do some math in this type of selector:

$( ' li:eq (0) ' )  like this   $( ' li:eq (some variable + 1 ' )

??

thank you!