Painlevé property of coupled anharmonic oscillators with N degrees of freedom