  function y = cute(x)
    N = length(x);
    I = 1:N-4;
    y = sum( (-4*x(I)+3.0).^2 ) + sum( ( x(I).^2 + 2*x(I+1).^2 + ...
      3*x(I+2).^2 + 4*x(I+3).^2 + 5*x(N).^2 ).^2 );
