Jump to content

Evaluate binomial coefficients: Difference between revisions

m
added whitespace before the TOC (table of contents), shown the formula with a bigger font to make it easier to read the italics.
m (added whitespace before the TOC (table of contents), shown the formula with a bigger font to make it easier to read the italics.)
Line 2:
This programming task, is to calculate ANY binomial coefficient.
 
However, it has to be able to output &nbsp; <big><big><math> \binom{5}{3} </math></big></big>, &nbsp; which is &nbsp; '''10'''.
 
This formula is recommended:
<big><big>
:: <math> \binom{n}{k} = \frac{n!}{(n-k)!k!} = \frac{n(n-1)(n-2)\ldots(n-k+1)}{k(k-1)(k-2)\ldots 1} </math>
</big></big>
 
 
'''See Also:'''
Line 11 ⟶ 14:
* [[Pascal's triangle]]
{{Template:Combinations and permutations}}
<br>
 
=={{header|360 Assembly}}==
Cookies help us deliver our services. By using our services, you agree to our use of cookies.