What is the sum of the following sequence:
Σ(-1)^(k+1) (2k-1)^2 for k=1...n
for different n?
Solution Stats
Problem Comments
1 Comment
Solution Comments
Show comments
Loading...
Problem Recent Solvers1786
Suggested Problems
-
Return the 3n+1 sequence for n
8534 Solvers
-
Sum all integers from 1 to 2^n
18061 Solvers
-
760 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
The Answer to Life, the Universe, and Everything
588 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.