By studying the integrated density of states, we prove the existence of Lyapunov exponents and the Thouless formula for the Schrödinger operator −d2/dx2 + cos xν with 0 < ν < 1 on L2[0,∞). This yields an explicit formula for these Lyapunov exponents. By applying rank one perturbation theory, we also obtain some spectral consequences.