I'd like to plot integers from 0 to N on a spiral and I have the intuition the easiest way to do this would be to use the Spiral of Theodorus as an approximation.
So, for 0 i would have (0,0), for 1 (1,0), for 2 (1,1) and here begins the difficult part for me.
Can someone help me to figure out a formula or a closure so that I could easily retrieve the coordinates of each positive integer?


The coordinates of the $n$th point are $$\alpha=\sum_{i=1}^n \arctan\left(\frac{1}{\sqrt{i}}\right)$$ $$r=\sqrt{n+1}$$ $$(x,y)=(r\cos(\alpha),r\sin(\alpha))$$ For $n=0$ we get $(1,0)$, for $n=1$ we get $(1,1)$, etc.