Nonlinear scalar field equations with general nonlinearity. (January 2020)