EDIT: This should probably be the most concise way of asking the question,.
Given $n,k\in\Bbb N$ such that $1\le$$k\le$$n$, how many permutations with order $k$ exist in $S_n$?
I'll elaborate further when requested.
EDIT: This should probably be the most concise way of asking the question,.
Given $n,k\in\Bbb N$ such that $1\le$$k\le$$n$, how many permutations with order $k$ exist in $S_n$?
I'll elaborate further when requested.
If you require specifically one $k$ cycle, you can choose the elements in the cycle in $n \choose k$ ways. Then the first element of the $k$ cycle can go $k-1$ places, the one from where it went can go $k-2$ places, and so on to see there are $(k-1)!$ cycles available. The total number is then ${n \choose k} (k-1)!=\frac {n!}{k(n-k)!}$
Added: if you want any permutation of order $k$, there is no need to required $k \le n$. If $n=8$, you can have $(2,3,4,5,1,7,8,6)$ with order $15$. The maximum for a given $n$ is shown in A000793. For a given $k,n$ you need to find all partitions of $n$ into $k_1,k_2,\dots k_p$ with $k=\operatorname{LCM} (k_1,k_2,\dots k_p)$ For a given partition, the number of permutations is calculated as above: You select $k_1$ elements for the first cycle, $k_2$ for the second, etc., then choose the order of the cycle. This would give ${n \choose k_1}(k_1-1)!{n-k_1 \choose k_2}(k_2-1)!\dots {k_p \choose k_p}(k_p-1)!$ If some of the $k_i$s are equal, you have to divide by the factorial of the number of equal ones because you can reorder the selections.