I'm trying to plot $2\operatorname{floor}\left(\log_{2}x\right)+1$ but only if $x$ is a natural number.
Desmos plots correctly
$2\operatorname{floor}\left(\log_{2}x\right)+1$
I would like this however:
I achieved this using a list of points $[(1,1),(2,3),(3,3),(4,5)\ldots]$ but I would like to plot up to infinity and I don't think desmos supports list comprehensions like that.
So instead I tried using desmos-style piecewise functions like $y=\left\{\operatorname{mod}\left(x,1\right)=0:2\operatorname{floor}\left(\log_{2}x\right)+1\right\}$ but this has no output at all.
So, how can I create a graphic like the second for all natural $x$? (At least up to $x=2^{2700}$)