Project:Sandbox

Shut up nerd

algorithm Halton-Sequence is inputs: index $$i$$ base $$b$$ output: result $$r$$ $$f \larr 1$$ $$r \larr 0$$ while $$i > 0$$ do $$f \larr f/b$$ $$r \larr r + f * (i \operatorname{mod} b)$$ $$i \larr \lfloor i/b \rfloor$$ return $$r$$