f[x+2]=f[x+1]+3 f[x]