Given set \( A \) with elements \( a - d, a, a + d \) (an arithmetic progression) and set \( B \) with elements \( b - D, b, b + D \).
The sum of elements in \( A \) is \( (a - d) + a + (a + d) = 3a \). Since \( 3a = 36 \), \( a = 12 \).
The product of elements in \( A \) is \( (a - d) \cdot a \cdot (a + d) = a(a^2 - d^2) = p \). Substituting \( a = 12 \), we get \( 12(12^2 - d^2) = p \), which simplifies to \( 12(144 - d^2) = p \).
Similarly, the sum of elements in \( B \) is \( (b - D) + b + (b + D) = 3b \). Since \( 3b = 36 \), \( b = 12 \).
The product of elements in \( B \) is \( (b - D) \cdot b \cdot (b + D) = b(b^2 - D^2) = q \). Substituting \( b = 12 \), we get \( 12(12^2 - D^2) = q \), which simplifies to \( 12(144 - D^2) = q \).
Given \( D = d + 3 \), substitute this into the equation for \( q \): \( q = 12(144 - (d + 3)^2) \).
The relation \( \frac{p + q}{p - q} = \frac{19}{5} \) is provided. Substituting the expressions for \( p \) and \( q \) and solving for \( p - q \) yields \( p - q = 540 \).
Therefore, the result is \( 540 \).
Consider an A.P. $a_1,a_2,\ldots,a_n$; $a_1>0$. If $a_2-a_1=-\dfrac{3}{4}$, $a_n=\dfrac{1}{4}a_1$, and \[ \sum_{i=1}^{n} a_i=\frac{525}{2}, \] then $\sum_{i=1}^{17} a_i$ is equal to