exercise:$$$$ Let $G$ be an abelian finite group and suppose $n$ is the smallest integer such that $g^n =e$ for all $g\in G$.
Given a decomposition of G as a product of cyclic groups from prime power orders, find $n$. $$$$
I used these two lemmas:
$\square$ definition: $exp(G)$ is the smallest integer $n$ such that $g^n=e$ for all $g \in G$.
$\square$ $exp(G_1 \times G_2 \times ... \times G_n)=lcm (G_1,G_2,...,G_n)$
$\square$ If G is cyclic, $exp(G)=|G|$ $$$$ So in our case $n=exp(G)=exp(G_{p_1}^{k_1} \times G_{p_2}^{k_2} \times ... \times G_{p_n}^{k_n})=lcm(p_1^{k_1},...,p_n^{k_n})$
What's wrong here?