Sequence : $f(f(n))+f(n+1)=3n$ Does there exist a function $f : \mathbb{Z}^+ \to \mathbb{Z}^+$  such that $f(f(n))+f(n+1)=3n$, $\forall n \in \mathbb{Z}^+$ ?
My attempt :
Substitute $n=1$, $f(f(1))+f(2)=3$ so $f(2) \in \{1$ or $2\}$ 
If $f(2)=1, f(f(1))=2$ 
Substitute $n=2$, $f(f(2))+f(3)=6$ so $f(1)+f(3)=6$ 
Substitute $n=3$, $f(f(3))+f(4)=9$ 
If $f(2)=2$, $f(f(1))=1$ so $f(1)\not= 2$

We will show that there is no such function. 
Since $f(2)+ff(1)=3$, we have two case:

$f(2)=2$:
$ff(2)+f(3)=6\implies f(3)=4$
$ff(3)+f(4)=9\implies 2f(4)=9$.
The last one is impossible hence $f(2)=1$.

$f(2)=1:$
$$
ff(2)+f(3)=6\implies f(3)=6-f(1)\\
ff(3)+f(4)=9\implies f(6-f(1))+f(4)=9.
$$ 
First of all $f(1)\neq 1,2$.
If $f(1)=5$ then :
$$
ff(1)=2\implies f(5)=2\\
f(3)=1\implies f(4)=4\\
ff(4)+f(5)=4+f(5)=4+2\neq 3\times 4.
$$
So $f(1)\neq 5$.
If $f(1)=3$:
$$
ff(1)=f(3)=2\\
f(3)=6-f(1)=3
$$
So again $f(1)\neq 3$.
If $f(1)=4$ then $f(3)=2$:
$$
f(f(1))=f(4)=2\\
ff(3)+f(4)=9\implies 1+f(4)=9.
$$
So $f(1)\neq 4$.
Therefore there is no function satisfying this condition.
