text: Below is an context that describes a sql query, paired with an question that provides further information. Write an answer that appropriately completes the request.  # noqa: E501
  ### Context:
  CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
  ### Question:
  What week number saw a w 31-16 result?
  ### Answer:
  SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"