Insert the missing number: 172, 34, 40, 18, ?

Insert the missing number: 172, 34, 40, 18, ?

Explanation
  • (approximate, doesn't fit exactly)

Observing the sequence, there may be an alternating pattern of subtraction and addition:


  • 172 - 138 = 34


  • 18 + 2 = 10