Let $R$ be a commutative ring and $a\in R$. Define $A=\{na:n\in \mathbb{Z^+}\}+aR$. Now I want to prove that $x\in A\ \text{and}\ r\in R \implies xr\in A.$
Maybe I missed a very simple point or overthought things here. I'm not sure. After trying for hours I came up with the following idea. I always seemed to need $R$ to have an identity element. So the ring $R$ is embedded in the ring $R\times\mathbb{Z}$ with identity $(0,1)$ as in this. Now let $x\in A\times\{0\}$. Then $x=(na,0)+(ar,0)$ for some $n\in\mathbb{Z^+}, r\in R$. Let $s=(b,0)\in R\times\{0\}$. Then \begin{align} xs &=((na,0)+(ar,0))(b,0)\\ &=(na,0)(b,0)+(ar,0)(b,0)\\ &=(nab,0)+(arb,0)\\ &=(a,0)+(nab,0)+(arb,0)-(a,0)\\ &=(a,0)+(nab+arb-a,0)\\ &=1(a,0)+(a,0)((nb,0)+(rb,0)-(0,1)). \end{align}
So $\forall x\in A\times\{0\}:\forall s\in R\times\{0\}: xs\in A\times \{0\}$.
I think it can now be inferred that $a\in A\ \text{and}\ r\in R \implies ar\in A.$ But I am not sure how and I don't know if it is simply impossible. Is it really impossible? Could someone please help? Thanks.
Added later: Let $x\in A, r\in R$. Then $(x,0)\in A\times \{0\}, (r,0)\in R\times \{0\}$. So $(x,0)(r,0)=(xr,0)\in A\times\{0\}$, whence $xr\in A$. Is this alright?