https://s0.wp.com/latex.php?latex=%5Csum_%7Bi%3D1%7D%5E3f%280.5%2B%28i-1%290.5%29%5Ccdot+0.5%3D%5Csum_%7Bi%3D1%7D%5E3%5Cleft%281%2B%5Cfrac%7B1%7D%7B0.5%2B%28i-1%290.5%7D%5Cright%29%5Ccdot+0.5&bg=%23ffffff&fg=%2321759b&s=0