I got a doubt with this problem:
Let $M=\{f:\mathbb{N}\to \mathbb{Z}|\text{$f$ is a function}\}$, defining the sum in $M$ as $(f+g)(n)=f(n)+g(n)$, $M$ is an abelian group. Let $R=\{\phi :M\to M : \phi\ \text{is a morphism}\}$. $R$ is a ring with the pointwise addition and the product as the function composition. Define $$\phi_1(f)(n)=f(2n+1),\ \phi_2(f)(n)=f(2n) $$ Show that $\{\phi_1,\phi_2\}$ is a basis of $R$ as a $R$-module.
Well, I know what to do, but my problem is that I don't even know how to handle the problem. For instance, let $\varphi \in R$, I have to show that exists $\alpha,\beta \in R$ such that: $$ \alpha \phi_1+\beta \phi_2=\varphi $$ and then I don't know how to go on.