When a certain number is trebled then decreased by 1, the result is twice as much as 5 more than the number? What is the number?