nth Term of an arithmetic series