Given that the sequence {an} is proportional, the first n terms and Sn = 3 ^ n + K, then the constant k is?

Given that the sequence {an} is proportional, the first n terms and Sn = 3 ^ n + K, then the constant k is?

a1=S1=3+k
a2=S2-S1=9+k-3-k=6
a3=S3-S2=27-9=18
Equal ratio is A2 & # 178; = a1a3
6²=18(3+k)
=k=-1