y(1) = 1;
y(2) = 1;

i = 1;

while i < 10
   y(i+2) = y(i) + y(i+1);
   fprintf('i = %.0f\ty(%.0f) = %.0f\ty(%.0f) = %.0f\ty(%.0f) = %.0f\n', i,i+2, y(i+2), i+1, y(i+1), i, y(i));
   i = i + 1;
   pause
end

y
