nth term of GP calculator

INPUT THE VALUE IN THE BOXES AND TRY TO LEARN THE CALCULATION

wHAT WILL HAPPEN IF r=0?