Let $R$ be a commutative ring with identity, let $N = \{x|x \in R, x^k=0$ for some natural number k$\}$, and let $L = \{x|x \in R, 1+xr$ invertible for all $ r \in R\}$. I am trying to find an example of a ring R such that $N$ is strictly smaller than $L$.
It is not hard to show that $N \subseteq L$ and so I have reduced this to finding an element in R that is in $L$ but not in $N$. It seems like $R=$ the real numbers might work, since for example $a \in R$ is in $L$ since $(1+ar)(\frac{1}{1+ar})=1$ but $a^k \neq 0$ for any natural number k if $a \neq 0$.
I'd appreciate any help with this since I'm not sure whether or not I'm on the right track here and most of the other rings such as $Z/nZ$ I've considered don't seem to have this property. Thanks!
Any local domain should work. If $R$ is a local domain with unique maximal ideal $\mathfrak{m}$, then $L=\mathfrak{m}$. But as a domain, $\{0\}$ is a prime ideal, so $N=\{0\}$.
For some concrete examples, you could look at valuation rings, which are always local domains, and DVRs, which are always local (principal ideal) domains.