Strongly interacting Luttinger liquid and superconductivity in an exactly solvable model