What is the sum of the following sequence:
Σ(km^k)/(k+m)! for k=1...n
for different n and m?
Solution Stats
Problem Comments
6 Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers1621
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2052 Solvers
-
Numbers with prime factors 2, 3 and 5.
683 Solvers
-
Flip the main diagonal of a matrix
914 Solvers
-
find the maximum element of the matrix
540 Solvers
-
378 Solvers
More from this Author9
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
Additional test cases have been added.
Test case 2 (and likely others) appear broken. For n-1, m=2, this should be:
1*2^1/(1+2) = 2/3, not 1/3.
@GeeTwo, the test suite is perfectly fine, as indicated by the reference solutions and the submitted solution.
Loved the Computer Science concept to make the computation more efficient!!
very good
Interesting question.