rewrite the consecutive? implement
solve the problem 050
add test for  p050