I'm trying to write
^nP_k=\frac{n!}{(n-k)!}
\binom nk=^nC_k=\frac{n!}{k!(n-k)!}
but when compiled the n is a little far away from the P and C for my liking. Is there a command to write this? I know there is a \binom so I was hopeful. If not, is there a way to force the n to be closer?
\documentclass{article}
\begin{document}
$ ^nP_k=\frac{n!}{(n-k}!} - permutation \\
\binom nk=^nC_k=\frac{n!}{k!(n-k)!} - combination $
end{document}



\binomis in packageamsmath– PatrickT Jan 26 '19 at 08:20