We divide 540104 by 1
We want to divide 540104 by 1.

On to step 1:
1 can be fit into 5 5 times, resulting in a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 5.0
If we take 5 away from 5, we end up with 0.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 1

On to step 2:
The number 1 fits into 4 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 54.0
If we take 4 away from 4, we end up with 0.
Include the next digit (0) from the dividend after 0, then repeat: 0 / 1

Going ahead to step 3:
If we divide 0 by 1, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 540.0
Subtract 0 from 0 to get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 1

Advancing to step 4:
The number 1 fits into 1 1 times, leaving a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 5401.0
Subtract 1 from 1 to get 0.
Take the next digit (0) from the dividend and append it to 0, then repeat: 0 / 1

Let's proceed to step 5:
1 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 54010.0
Subtracting 0 from 0 leaves us with 0.
Include the next digit (4) from the dividend after 0, then repeat: 4 / 1

On to step 6:
If we divide 4 by 1, we get 4 and a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 540104.0
Subtract 4 from 4 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 7:
1 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 540104.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 8:
The number 1 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 540104.0
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final result is 540104.0 with a remainder of 0.0.