This recursive equation seems to be increasing linearly with any a(1) that is entered first. There is no oscillation, there is no limit for the situations where a1=1, 2, or -1. I am not sure at the moment how to prove that for all values of a1 that it will be the same for all of them. It seems that the sequence will have the same slope no matter what the initial a1 is, but depending on what a1 is, will depend on what b would be for y=mx+b. At the beginning of the sequence for each of the a1 I tested, there appears to be a little discontinuity, but it quickly goes to a line. I even tested what would happen for a1 = 500 and a1 = -500 and they still seem to have the same slope as the other ones.
It turns out that my code is completely wrong as I did the problem by hand and obtained completely different results. I have learned that I should be using a while loop for my code instead of a for loop. I am sure that I could use a for loop, but clearly I was not using it correctly since what I described above does not match what I should have gotten. What I have discovered is that this sequence reminds me of iterative methods used to find the square roots of a function. I tried many different values of a(n-1) and for every single value so far, the sequence converges either to 2 or 1. I have plugged in negative integers and very large numbers to test if for whatever real number I plug in for a(n-1) that the sequence will converge to either 1 or 2. It seems that for any number less than 1.5, the sequence will converge to 1. I tested a(n-1)= 1.5 and I got an error in my code. This is because plugging 1.5 in for a(n-1) into the recursive sequence gives 0.25/0 and 0 cannot be in the denominator. Any real number for a(n-1) greater than 1.5 will make the recursive sequence converge to 2.
Here are the arrays formed by a(n-1)=1.5001, 1.6, 1.55, and 1.49999 respectively.
Here is the code I used to obtain the correct results.