Let $n$ be a five digit number ,whose first digit is non-zero, and let $m$ be the four digit number formed from n by removing its middle digit. Determine all $n$ such that $n/m$ is an integer

Aniket Bhattacharyea Answered question

Let

This implies that

Clearly we have that

This simplifies to

Aniket Bhattacharyea Answered question