I\'m given a question in R language to find the 30th term of the recurrence relation x(n) = 2*x(n-1) - x(n-2), where x(1) = 0 and x(2) = 1. I know the
x(n) = 2*x(n-1) - x(n-2)
x(2) = 1