f(x)=f(x-1)+f(x+1)
f(x-1)=f(x)-f(x+1)
对n为自然数,有
f(3n)=f(3n+1)-f(3n+2)=f(3n+2)-f(3n+3)-[f(3n+3)-f(3n+4)]
=f(3n+2)+f(3n+4)-2f(3n+3)=- f(3n+3)
可知:f(3n)=f(0)×(-1)^(n)
2004/3=668,当n=668时,有:
f(2004)=f(0)×(-1)^(668)=f(0)=2004
f(x)=f(x-1)+f(x+1)
f(x-1)=f(x)-f(x+1)
对n为自然数,有
f(3n)=f(3n+1)-f(3n+2)=f(3n+2)-f(3n+3)-[f(3n+3)-f(3n+4)]
=f(3n+2)+f(3n+4)-2f(3n+3)=- f(3n+3)
可知:f(3n)=f(0)×(-1)^(n)
2004/3=668,当n=668时,有:
f(2004)=f(0)×(-1)^(668)=f(0)=2004