Let $A$ be a subset of $X$ which is a compact connected metric space, and A with more than $n$ components. Do exist $C_1, \ldots, C_{n+1}$ pairwise separated subsets such that $A = \bigcup_{i=1}^{n+1}C_i$?
I have tried to take the first $n$ components of $A$ as $C_1, \ldots, C_n$ and define $C_{n+1}$ as the union of the other components of $A$ but I can't pruve that, for example, $C_1$ and $C_{n+1}$ are separated.
Let $M$ be the set of all numbers $m\in\mathbb N$ such that $A$ can be partitioned into $m$ disjoint nonempty sets, each clopen in $A.$
It is clear that $1\in M,$ and that $m\in M\implies\{1,2,3,\dots,m\}\subseteq M.$
If $M$ has no greatest element, then $M=\mathbb N$ and we're done. Otherwise, let $m$ be the greatest element of $M.$ Let $A=C_1\cup\cdots\cup C_m$ where the sets $C_i$ are disjoint, nonempty, and clopen in $A.$ If some $C_i$ were disconnected, then we could partition $A$ into $m+1$ disjoint nonempty clopen sets, contradicting the fact that $m$ is the greatest element of $M.$ Therefore the sets $C_1,\dots,A_m$ are connected, and they are the components of $A,$ so $m\gt n.$