a[0]=a[1]=1;
a[n_] := a[n] = ((((a[n-1])^3)+1)/(a[n-2]));

a /@ Range[10]