function tartaglia(N) X = [1, 1]; for i=1:N disp(X); X = [0 X] + [X 0]; end