There are 10 boxes numbered from 1 to 10. Either a red ball or a green ball will be placed in each box in such a way that at least 1 box contains a green ball and the boxes containing green balls are consecutively numbered. How many different ways can this be done? Choose the correct option
A) 46
B) 49
C) 52
D) 55
E) 58
1 green ball: 10 ways   2 green balls: 9 ways   3 green balls: 8 ways   4 green balls: 7 ways   5 green balls: 6 ways   6 green balls: 5 ways   7 green balls: 4 ways   8 green balls: 3 ways   9 green balls: 2 ways   10 green balls: 1 way   The total number of ways is   10*11/2= 
<gadget id="calculator">  10*11/2</gadget>
<output>55</output>
55   The answer is 55.
<result>D</result>
There are 10 boxes numbered from 1 to 10. Either a red ball or a green ball will be placed in each box in such a way that at least 1 box contains a green ball and the boxes containing green balls are consecutively numbered. How many different ways can this be done?