There are 10 lamps in a hall. Each one of them can be switched on independently. No. of ways in which the hall can be illuminated is
210−1
29−1
210
29
=210−1