It's a riddle. A hint is on the stone plate. In short, you don't have to interact with the buttons, but instead count how many are in each room, to get a combination for somewhere else.
The full solution is in the FAQ section of the walkthrough, if you need it.