Represent the following statement by an equation:
17 times the sum of a number n and 31 is 357?
What is the value of n?