I was comparing the result of my following python calculation with Mathematica: https://www.wolframalpha.com/input?i=sum+%28500+choose+r+%29%28-1%29%5Er+%2F%28r
I have created a factorial function which is then used to create a function for the binomial coefficient. My factorial function works but the binomial function