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 Solvers1751
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
6815 Solvers
-
911 Solvers
-
11212 Solvers
-
Compute a dot product of two vectors x and y
1055 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1279 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.