There are 10 lamps in a hall. Each one of them can be switched on independently. The number of ways in which the hall can be illuminated is 210 -1.