Are there any actual uses for this?

I was close:
index
It's $$n x^{n-1}$$, not $$x^{n-1}\over {n-1}$$. I was confusing it with iteration. :~(

I would use only the inner FOR loop, which is slow enough. :~/ Let the user do the scaling.

Makes sense. Changing it now.

Makes sense. Changing it now.