The common difference ddd can be found by:
a2−a1a_2 - a_1a2−a1
a1−a2a_1 - a_2a1−a2
a2/a1a_2 / a_1a2/a1
a1+a2a_1 + a_2a1+a2