What is the sum of the following sequence:
Σ(-1)^(k+1) (2k-1)^2 for k=1...n
for different n?
Additional test cases have been added.
Please check your test suites, results must have opposite signs.
Thanks! The problem now is reformulated;)
Swap the first and last columns
9888 Solvers
205 Solvers
Create a square matrix of multiples
330 Solvers
Sum of diagonals elements of a matrix
132 Solvers
442 Solvers