I'm trying to follow a proof about immersing/embedding $\mathbb{RP}^n$ into $\mathbb{R}^{n+1}$, which goes roughly as follows:
Write $\tau=T\mathbb{RP}^n$. The normal bundle $\nu$ has rank 1, so its Steifel-Whitney class is $w(\nu)=1$ or $w(\nu)=1+x$. In every case, we need $w(\nu)\cdot w(\tau) = w(\nu \oplus \tau) = w(\epsilon^{n+1})=1$. If $w(\nu)=1$, then $w(\tau)=(1+x)^{n+1}=1$, so $n+1=2^r$. If $w(\nu)=1+x$, then similarly $(1+x)^{n+2}=1$ so $n+2=2^r$. If the immersion is an embedding, the former case must hold.
Why is this true? I feel like there should be an easy reason, but none of the people I talked with were able to nail down anything precise. This could be wrong, but it seems like this is tacitly saying that a codimension-1 embedding of a closed manifold must be in fact of an orientable manifold, which is the same as saying that the the normal line bundle has trivial $w_1$ (since line bundles are totally classified by their orientability, i.e. by $w_1$). Is this true?
The normal bundle of a codimension 1 embedding of a compact closed manifold $M$ in $\mathbb R^{n+1}$ is indeed trivial. Otherwise, you could find a simple closed curve in $\mathbb R^{n+1}$ that intersects $M$ in a single point. This implies that both the curve and $M$ represent nontrivial mod $2$ homology classes in $\mathbb R^{n+1}$; this is because the intersection product is dual to the cup product and cannot be nonzero on trivial homology classes. However there are no nontrivial homology classes in $\mathbb R^{n+1}$ since it is contractible. So we get a contradiction.
Once the normal bundle is seen to be trivial, one can use the ambient orientation of $\mathbb R^{n+1}$ to locally orient the manifold, since there is a well defined positive normal direction.