The sum,s, of a linear sequence varies partly as the number of terms,n, and partly as the square of the number of terms in the sequence . When the number of terms is 20 the sum of the sequence is 990 and when the number of terms is reduced to 15 , the sum of the sequence is 555 find the relation between ,s, on the number of times,n, in the sequence