In Maple there is a program that should display all values from 1 to n by the formula. But the program displays only the last value. I have already tried to do all sorts of simplest programs in the maple and none of them displays all the values of the cycle, but only the last. I only know that if you write down the necessary values for output through whom, then it outputs norms. But it is terribly uncomfortable and cumbersome. If anyone knows, please help.
y1 := proc (n) local i, y, x; y[-1] := 0; y[0] := 1; for i from 1 to n do y[i] := y[i-1]+a(i)*x[i]*y[ni] y[i]; end do; end proc;