[INTRO]
In such arrangement of identical charged particles named $P_1$, $P_2$, ..., $P_n$ (In this diagram $n=5$), the electric field in the center is always zero.
The electric field is given by this equation:
$$\vec F=k\frac{q}{r^2}\hat r$$
Where $\hat r$ points to the radial direction.
If $2|n$, then the forces are obvious canceled by symetry.
If $n$ is odd, again the components of forces in the $y$ axis cancel by symetry. But for the $x$ direction the components cancel if this condition is true:
$$\sum_{c=0}^{n-1}\cos(c \theta)=0 \ \ \ \ \ \ \theta=\frac{2\pi}n$$
[END OF INTRO]
My main problem is to prove for any $n$, this relation holds:
$$\sum_{c=0}^{n-1}\cos(2\pi \frac{c}{n})=0$$

This is valid for any regular polygon. It can be viewed physically:
Sum of cosines or sines of equi-spaced forces is zero by finding resultant using a statics force polygon vector diagram.
Or mathematically:
Formula for sum of $n$ equi-spaced ( interval $\alpha , \alpha = 2 \pi/n $) sines. It can be derived by summing terms from De Moivre's theorem as a geometric progression. $$ \frac { \sin n \alpha/2}{ \sin \alpha/2}\cdot \sin ( average\, angle) $$
Sum of $n$ equi-spaced ( interval $\alpha $) cosines
$$ \frac { \sin n \alpha/2}{ \sin \alpha/2}\cdot \cos ( average\, angle) $$
Quantity in numerator is $ \sin n \pi $ that vanishes