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 Solvers1755
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
2056 Solvers
-
Number of 1s in a binary string
11430 Solvers
-
Create an n-by-n null matrix and fill with ones certain positions
734 Solvers
-
Deleting an element in a matrix
496 Solvers
-
Return fibonacci sequence do not use loop and condition
870 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.