已知数列{an}的前n项的和Sn=n^2-16n,第k项满足6