If we let the fifth number be $x$, then the sixth number is $6+x= 15$, so $x=9$.
The seventh number is the sum of the fifth and sixth numbers, $9+15=24$.