Chung Kevin's favorite - (2)

(26=5+6+7+827=8+9+1028=1+2+3+4+5+6+729=14+1530=4+5+6+7+831=15+16\begin{array}{c}(26 & = & 5+6+7+8 \\ 27 & = & 8+9+10 \\ 28 & = & 1+2+3+4+5+6+7 \\ 29 & = & 14+15 \\ 30 & = & 4+5+6+7+8 \\ 31 & = & 15+16 \end{array}

If you see the above numbers , they can be represented as a sum of some consecutive numbers.If 32 can be expressed as i=1nai\displaystyle\sum_{i=1}^n a_i , where a1,a2,a3,ana_1,a_2,a_3, \dots a_n are some consecutive positive numbers , compute i=1nai\displaystyle\prod_{i=1}^n a_i.

Note: If you think that 32 is not lucky enough to have such representation , input the answer as 999.


Try more by clicking here.
×

Problem Loading...

Note Loading...

Set Loading...