This script iterates the recurrence relation (x,y) = M×(x,y) + C
It works on lists of initial values and lists of coefficients, the elements being comma separated.
Each element of the list of coefficients is applied upon each element of the initial values lists.
It also gives the equivallent relations in x only and in y only.
The checkbox "≥0" cancels all <0 results, the checkboxe "Merge" merges all the results into a single list, sorted by absolute values.
From the relations
xn+1 = P xn + Q yn + K
yn+1 = R xn + S yn + L
A simple calculation gives