Let us say the integers start from integer n.
Then the sequence is n, (n+1), (n+2).......
According to the given data;
`(n+2)+(n+3) = 47`
`2n+5 = 47`
`n = 21`
Sum of first five terms `= 21+22+23+24+25 = 115` ` `
So the sum of first five terms is 115.
If we have to get the sum of large number of terms we can use arithmetic progression instead of the above method.