Cooper pairing at large N in a two-dimensional model