Rosenbrock's function is often used as a minimization test problem
for nonlinear continuous problems, since its minimum lies at the
base of a ``banana-shaped valley'' and can be difficult to locate.
This function is defined for even integers **n** as the following sum: