Legendre's Necessary Condition