FUNCTION
Binomial_Coefficient
Returns the binomial coefficient using the factorial function.
You're viewing an older version of this page (#118). View the current version.
Interface
#include <codecogs/maths/combinatorics/arithmetic/binomial_coefficient.h>
using namespace Maths::Combinatorics::Arithmetic;
The binomial coefficient is the number of ways to pick k unordered outcomes from n possibilities. This is also known as combination number,
. It is defined as:
(1)
Parameters
n
number of possibilities
k
number of outcomes
Interactive Calculator
n
k
Result
Computing…
Set a range above first to export a graph.
This function's source code is only visible to registered users — documentation and the calculator above are free to use either way. Sign in to see it.