Translate the following sentence into an algebraic equation: "13 diminished from twice a number is equal to 17"
(−7)×(−13)+(17)×(−13)=__