The sum of 3 consecutive odd number is 51.The intermediate number is?

The sum of 3 consecutive odd number is 51.The intermediate number is?

Explanation

Let the first num=x

second number will be=x+2

third num will be =x+4

Given condition

x+x+2+x+4=51

3x+6=51

3x=51-6

3x=45

x=45/3=15

first number=15

2nd number=15+2=17

3rd number=17+2=19