Existence results for semilinear elliptic equations with some lack of coercivity