Let the number of sides of the polygon be
n\nThen the sum of all the interior angles
=(n×180−360)\nSum of the interior angles\n
=120+125+130+⋯ to
n terms\n
=2n[240+(n−1)5]∴2n[240+(n−1)5]=n×180−360\n
⇒n2−25n+144=0⇒(n−9)(n−16)=0⇒n=9 or 16\nBut when
n=16, the greatest interior angle is
120∘+(16−1)5∘=195∘ which is not possible, for interior angle is
<180∘.\nHence the number of sides
=9