a(n) = a + (n-1)d,
S(n) = na + n(n-1)d/2,n = 1,2,...
9 = a(1)+a(3)+a(11) = a + a+2d + a+10d = 3a + 12d,
3 = a + 4d.
S(9) = 9a + 9*8d/2 = 9(a+4d) = 9*3 = 27
a(n) = a + (n-1)d,
S(n) = na + n(n-1)d/2,n = 1,2,...
9 = a(1)+a(3)+a(11) = a + a+2d + a+10d = 3a + 12d,
3 = a + 4d.
S(9) = 9a + 9*8d/2 = 9(a+4d) = 9*3 = 27