Is the sequence arithmetic?
Your answer is (input yes or no) ;
if your answer is yes,
its first term is .
its common difference is .

You can earn partial credit on this problem.