I would like to typeset the top part of Pascal's triangle. To get the triangle with the names of the binomial coefficients, i.e., {n \choose k}, I used the following code
\begin{tikzpicture}
\foreach \n in {0,...,4} {
\foreach \k in {0,...,\n} {
\node at (\k-\n/2,-\n) {${\n \choose \k}$};
}
}
\end{tikzpicture}
The result is this

Now I want to be equally lazy and do something like this for the values of the binomial coefficients, i.e., replace {\n \choose \k} in the node label with \CalculateBinomialCoefficient{\n}{\k} where \CalculateBinomialCoefficient is a hypothetical macro that calculates the binomial coefficient. Has anyone done something like that?
The result should look like this: 


\FPpascalmacro implemented infp-pas.sty(part of thefppackage). – Gonzalo Medina May 6 '11 at 0:49\binom{a}{b}from the amsmath package instead of{a \choose b}for binomial coefficients – Spike May 6 '11 at 8:44