We could expand this further but let's call it done.
Answer: a = 2s/n - (n+1)d
9.5m questions
12.2m answers