Skip to main content
3 of 5
deleted 1 characters in body
Mr.Wizard
  • 2.6k
  • 18
  • 17

Mathematica: 36


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