Skip to main content
2 of 5
added 26 characters in body
Mr.Wizard
  • 2.6k
  • 18
  • 17

Mathematica: 37


Mathematica has the `Binomial` function, but that takes the fun out of this. I propose:
NestList[{0,##}+{##,0}&@@#&,{1},#-1]& 
Mr.Wizard
  • 2.6k
  • 18
  • 17