DocZaius
- 365
- 11
Hello,
I'm using summation notation (from k=0 to n) and would like a mathematical object to:
return 0 when k=0
return 1 when k>0
I messed around with binomial coefficients but couldn't make it work. It's probably trivial, but I couldn't find it after much googling.
I'm using summation notation (from k=0 to n) and would like a mathematical object to:
return 0 when k=0
return 1 when k>0
I messed around with binomial coefficients but couldn't make it work. It's probably trivial, but I couldn't find it after much googling.
Last edited: