Assuming the beach is continuous with a continuous distribution of customers:
If there are $3$ vendors, there is no equilibrium. If all three are in the center, one of them can move slightly to the left and capture nearly $\frac{1}{2}$ of the customers, which is more than the $\frac{1}{3}$ he had before. Otherwise there is some vendor which is not in the same place as either of the other two and is the closest to one edge. He can move slightly toward the center, capturing more customers.
If there are $4$ vendors, then there is an equilibrium when $2$ of them are $\frac{1}{4}$ of the way from the left end of the beach and the other two are $\frac{1}{4}$ of the way from the right end. I'm pretty sure this generalizes to even $n$, where pairs are at the same spot and the beach is divided into segments in the ratio $1:2:2:\cdots:2:1$.
This leaves the case for odd $n>3$. I haven't worked out the details, but you should probably be able to show that intervals can be arranged with $\lfloor \frac{n}{2} \rfloor$ pairs of vendors and a single vendor in the middle somewhere (doesn't need to be the exact center, just in between two pairs of doubled-up vendors), with segments in the ratio $1:2:2:\cdots:2:1$.