The sum of the first n consecutive even numbers can be found using S = n2 + n. What is the value of n when the sum is 272?