We know that in an A.P., the sum of the terms equidistant from the beginning and end is always the same and is equal to the sum of first and last term.
Therefore, d = b – a
a1 + a24 = a5 + a20 = a10 + a15
It is given that
We know that
where a is the first term and l is the last term of an A.P.