This is probably a very simple to solve question, but i do not know how to use Pari gp to find the succesive $z(n)$ and $y(n)$ values of , for instance, the recurrence :
(z(0),y(0))=(1,0); z(n+1) =15z(n) +112y(n); y(n+1) = 2z(n) + 15y(n)
What a simple line of code to use ?
Ok i found the way to do it, using vectors:
$ a=10;z=vector(a);y=vector(a);z[1]=1;y[1]=0;for(n=2,a,z[n]=15*z[n-1]+112*y[n-1];y[n]=2*z[n-1]+15*y[n-1];print([z[n],y[n]])) [15, 2] [449, 60] [13455, 1798] [403201, 53880] [12082575, 1614602] [362074049, 48384180] [10850138895, 1449910798] [325142092801, 43448939760] [9743412645135, 1302018282002] $