We divide 513842 by 1
Let's see how many times 1 fits into 513842.

Going ahead to step 1:
When dividing 5 by 1, we get 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 5.0
If we subtract 5 from 5, we get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 1

Step 2:
1 can be fit into 1 1 times, resulting in a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 51.0
If we subtract 1 from 1, we get 0.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 1

Step 3:
When dividing 3 by 1, we get 3 with a remainder of 0.
The next digit of our result is 3. 
Result so far: 513.0
If we subtract 3 from 3, we get 0.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 1

Moving on to step 4:
If we divide 8 by 1, we get 8 and a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 5138.0
Deduct 8 from 8 and we're left with 0.
Bring next digit (4) of the dividend behind the 0 and repeat the process: 4 / 1

Step 5:
If we divide 4 by 1, we get 4 and a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 51384.0
Subtracting 4 from 4 leaves us with 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 1

Advancing to step 6:
2 divided by 1 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 513842.0
Subtract 2 from 2 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.

Step 7:
If we divide 0 by 1, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 513842.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.

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: 513842.0
Subtracting 0 from 0 leaves us 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.

Our division results in 513842.0 with a remaining 0.0.