Skip to main content
1 of 2
nrz
  • 253
  • 1
  • 8

MATLAB/Octave, n first numbers, 41 chars

a=[0 1];for(i=3:n);a(i)=a(i-2)+a(i-1);end
nrz
  • 253
  • 1
  • 8