I have an integer (let's call it $n$), and I want to define it as the product of two values: one that's a pure power of two, and another that is odd. Obviously, these two values are unique for a given integer.
How do I write this without sounding stupid? I considered this:
Let $n$ be a number. Define $b$ and $p$ to be the values for which $n = b \times 2^{p}$ is true and $b \equiv 1\ (mod\ 2)$.
There has to be a better way, right? Ideally using commonly known functions or shorthand for factorization.
[Note: of course for one integer $n$, there is no such decomposition.]
The most common way to say this is indeed some variation of "Write $n$ as $2^r m$ with $m$ odd." If you really want alternatives (there might be contexts where these read better due to placing emphasis on $r$ or on $m$), you might also consider:
But for most purposes the first formulation is the go-to idiom, even though it sounds clunky when you (intentionally, I presume) string it out to an extreme length.