Let f(x)=x−3x+1,x≠−1. Then f2010(2014) (where fn(x)=fof... of (x) (n times)) is
2010
4020
4028
2014
f2(x)=fof(x)=f(f(x))=fx−3x+1=x−3x+1−3x−3x+1+1=−x+3x−1f3(x)=f−x+3x−1=−x−3x−1−3−x−3x−1+1=x.
Hence f3k(x)=x
f2010(2014)=f3.670(2014)=2014.