So for context, this is the problem I'm trying to solve.
Let $G$ be a finite group of order $n$ and $G \to S(G) \cong S_n$ the map associated with Caley's theorem. Prove that the image of an element $g \in G$ of order $k$ is a product of $n/k$ disjoint $k$-cycles in $S(G)$. When does the image of $G$ in $S(G)$ contain odd permutations?
What I'm lost about is the idea of the Cayley map. From what I've understood this map is $f: G \to S(G)$ given by $g \mapsto \lambda _g$ where $\lambda_g: G \to G$ is a map given by $x \mapsto gx$.
For a concrete example, I wrote the map as $g \mapsto(x \mapsto gx)$ and took $G=S_3$ so $\#G=6$ and then the elements $g=(1\;2)$ so $\#g=k=2$; and $x=(1 \; 2 \; 3)$. Which gives $$gx=(1 \; 2)(1 \; 2 \; 3)=(2 \; 3)$$ but this isn't a product 3 disjoint $2$-cycles so I think I've misunderstood something. Can someone help explain it?
$G$ acts on the set $\{1,2,3\}$, and $S(G)$ acts on the set $G=\{\sigma_1,\cdots,\sigma_6\}$, where the $\sigma_i$s are the six possible permutations of $\{1,2,3\}$. The cycle type of an element of $G$ is written using elements of $\{1,2,3\}$, but the cycle type of an element of $S(G)$ is written using elements of $\{\sigma_1,\cdots,\sigma_6\}$.
Let's be explicit. Label the permutations
$$ \begin{array}{lll} \sigma_1=(1)(2)(3), & \sigma_3=(1)(23), & \sigma_5=(31)(2), \\ \sigma_2=(12)\sigma_1=(12)(3), & \sigma_4=(12)\sigma_3=(123), & \sigma_6=(12)\sigma_5=(321). \end{array} $$
Then $\lambda_{(12)}=(\sigma_1\sigma_2)(\sigma_3\sigma_4)(\sigma_5\sigma_6)$ is a product of three $2$-cycles. If you want, you can also use the labels $1$-$6$ for the permutations, so $\lambda=(12)(34)(56)$, as long as you're careful to keep track of when the numbers refer to elements of the original set $\{1,2,3\}$ versus when they refer to permutations of that set.
For your problem, suppose $(x~gx~\cdots~g^{m-1}x)$ is an $m$-cycle of $\lambda_g$. Can you continue?