An arithmetic progression has first term 3. The n-th term is 83 and the (3n)-th term is 251. Fill in the blanks with the correct numbers.

a. n =
b. The common difference of the progression is d=