n-th term and sum of the first n terms: arithmetic a, a+d, โ€ฆ or geometric a, ar, โ€ฆ

n-th term = 32

Sum of first n = 185