def diop_general_sum_of_even_powers(eq, limit=1):
 (var, coeff, diop_type) = classify_diop(eq, _dict=False)
 if (diop_type == 'general_sum_of_even_powers'):
  for k in coeff.keys():
   if (k.is_Pow and coeff[k]):
    p = k.exp
  return _diop_general_sum_of_even_powers(var, p, (- coeff[1]), limit)

def diop_general_sum_of_even_powers ( eq , limit = 1 ) : ( var , coeff , diop_type ) = classify_diop ( eq , _dict = False ) if ( diop_type == 'general_sum_of_even_powers' ) : for k in coeff . keys ( ) : if ( k . is_Pow and coeff [ k ] ) : p = k . exp return _diop_general_sum_of_even_powers ( var , p , ( - coeff [ 1 ] ) , limit )
solves the equation x_{1}^e + x_{2}^e + .