A charge + q is fixed at each of the points $x = x_0,x=3x_0,x=5x_0...8$ on the x-axis and a charge - q is fixed at each of the points $x = 2x_0,x=4x_0,x=6x_0...,8$
Here, $x_0$ is a positive constant. Take the electric potential at a point due to a charge Q at a distance r from it to be $Q/4 p\varepsilon_0r.$
Then the potential at the origin due to the above system of charges is