Question: Term of a sequence

I can't write a program to solve the following problem:

The first two terms of a sequence are a1 = 1, a2 = 1/sqrt(3). For n >=1, a(n+2) = (an + a(n+1))/(1-an*a(n+1)). What is a2012?

Please Wait...