Writing an explicit rule for an arithmetic sequence