(c)1+1+2+22+23+24+…+29-1
=2+2+22+23+24+…+29-1
=22+22+23+24+…+29-1
=23+23+24+…+29-1
=24+24+…+29-1
=210-1
=1024-1
=1023.