I thought of a number, doubled it, then decreased by 17. Then I divided the result by 3. I got 15. What was the number

Given:
The number is doubled it, then decreased by 17. Then I divided the result by 3. I got 15.
Required:
To find the number.
Explanation:
Let x be the number.
The number is doubled,
[tex]2x[/tex]The number is doubled it, then decreased by 17,
[tex]2x-17[/tex]The number is doubled it, then decreased by 17. Then I divided the result by 3.
[tex]\frac{2x-17}{3}[/tex]The number is doubled it, then decreased by 17. Then I divided the result by 3, then the result is 15,
[tex]\begin{gathered} \frac{2x-17}{3}=15 \\ \\ 2x-17=15\times3 \\ \\ 2x-17=45 \\ \\ 2x=45+17 \\ \\ 2x=62 \\ \\ x=\frac{62}{2} \\ \\ x=31 \end{gathered}[/tex]Final Answer:
The number is 31.