# How do you write "n choose k" using the math formatting on Socratic?

##
The \binom and \choose commands from LaTeX don't seem to be working, and I couldn't find it on the Socratic Help Center.

The \binom and \choose commands from LaTeX don't seem to be working, and I couldn't find it on the Socratic Help Center.

##### 1 Answer

#### Answer:

Without hashtags, "((n),(r))" or ""^nC_r ".

#### Explanation:

You have to write this as though you are writing a matrix.

We do this as "((n),(r))".

This will look like

You could also write