In an arithmetic sequence, the nth term, an, is given by the formula an = a1 + (n-1)d, where d is the common difference.
So, a1 + 3d = 19
and a1 + 10d = 54
Subtract the equations to get -7d = -35
d = 5
a1 + 3(5) = 19
a1 = 4
We have an = 4 + 5(n-1)
So, a23 = 4 + 5(22) = 4 + 110 = 114
Sn = sum of first n terms = (n/2)(a1 + an)
So, S23 = (23/2)(4+114) = 1357