We know from the fundamental theorem that every finite group $G$ can be written as $G\cong Z_{n_1}\times\cdots\times Z_{n_t}$, where $n_i| n_{i+1}$.
What is happening in the following example.
$Z_6\cong Z_2\times Z_3$, but 2 does not divide 3.
We know from the fundamental theorem that every finite group $G$ can be written as $G\cong Z_{n_1}\times\cdots\times Z_{n_t}$, where $n_i| n_{i+1}$.
What is happening in the following example.
$Z_6\cong Z_2\times Z_3$, but 2 does not divide 3.
The fundamental theorem tells you that there is at least one decomposition of $G$ into cyclic groups $\Bbb Z_{n_i}$ such that $n_i\mid n_{i+1}$, it doesn't say that every decomposition into cyclic groups is of that form. Since $\Bbb Z_6$ is already a decomposition of itself into cyclic groups, there is no contradiction to the theorem.