Formula

Gp = [a r (n-1)]

Where,
a - first term in the series,
n - last term in the series,
r - common difference.