Given a postive integers x and n, we are asked to evaluate the following summation:
where: the symbol "" and "" are the floor and ceil functions, respectively.
For example, if and , we have:
>> S = @(x,n) sum(arrayfun(@(i) ceil(nthroot(i-1,n))+floor(nthroot(i+1,n)),1:x));
>> s = S(50,3)
>> s =
279

Solution Stats

4 Solutions

3 Solvers

Last Solution submitted on Jun 04, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...