This website works better with JavaScript
Home
Explore
Help
Sign In
radu
/
LaTeX-examples
Watch
1
Star
0
Fork
0
Files
Issues
0
Pull Requests
0
Wiki
Tree:
3b44772968
Branches
Tags
master
LaTeX-examples
/
documents
/
Programmierparadigmen
/
scripts
/
haskell
/
binomialkoeffizient.hs
binomialkoeffizient.hs
90 B
History
Raw
1
2
3
4
5
binom n k =
if (k==0) || (k==n)
then 1
else binom (n-1) (k-1) + binom (n-1) k