The fractional part function of a positive real number r, denoted as , is defined as: , where , is the floor of r. Thus, , and .
Given a positive integer n, create the function , that evaluates the following summation:
For example for :
Please present the function output rounded-off to nearest 3 decimal places Therefore, for , the function should return .
---------------

Solution Stats

6 Solutions

4 Solvers

Last Solution submitted on Mar 06, 2024

Last 200 Solutions

Solution Comments

Show comments
Loading...