The PS3 can support up to 7 controllers simultaneously connected to the PS3. That means up to 7 players can play on a single system. For 5 to 7 players, the controller ID can be calculated by adding the LEDs, so player 5 will be 1 + 4:
Similarly, for player 6 LEDs 2 and 4 will be switched on.