Write a recursive function that displays an arbitrary element from the following recursive definition:
X0 = 3
X1 = 4
Xn = Xn-1 + 2(Xn-2)
Your function should take a single integer argument that corresponds to the index of the element in the recursive sequence. The function should return the value of that particular element.