Gọi số phải tìm là \(\overline{abcd}\).
Ta có:
\(\overline{abcd5}=5\times\overline{1abcd}\)
\(\Leftrightarrow\overline{abcd}\times10+5=5\times10000+5\times\overline{abcd}\)
\(\Leftrightarrow5\times\overline{abcd}=49995\)
\(\Leftrightarrow\overline{abcd}=9999\).