Variational Analysis and Euler Equations of the Optimum Propeller Problem