Nonlinear differential equations having non-sign-definite weights