Problem 2581. Sum of series VII
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
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.
Solution Comments
Show commentsProblem Recent Solvers1547
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15744 Solvers
-
Project Euler: Problem 3, Largest prime factor
1764 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1288 Solvers
-
1240 Solvers
-
Approximation of Pi (vector inputs)
258 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!