Problem:
Approximate the sum

for various values of n.


Visualization:
Use the following Mathview Notebook to change the values of n. View an animation to see how this can be done; the animation also shows how to change from powers of 2 to powers of 3 and 5.