input: Write a python function to check if a number can be expressed as the sum of two or more consecutive positive integers.
  assert consecutive_sum(19) == True
  assert consecutive_sum(9) == True
  assert consecutive_sum(5) == True
  assert consecutive_sum(3) == True
  assert consecutive_sum(2) == False
  assert consecutive_sum(1) == False
output: def consecutive_sum(n):
      # Check for all possible lengths of consecutive number sequences
      for length in range(2, int((2 * n)**0.5) + 1):
          if (n - (length * (length - 1)) // 2) % length == 0:
              return True
      return False