Let's divide 542638 by 13
Our goal is to divide 542638 by 13.

Let's proceed to step 1:
13 goes into 5 0 times with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 13

Advancing to step 2:
13 can be fit into 54 4 times, resulting in a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtracting 52 from 54 leaves us with 2.
Grab the next digit (2) from the dividend, add it to 2, then carry on: 22 / 13

Let's proceed to step 3:
If we divide 22 by 13, we get 1 and a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 41.0
Deduct 13 from 22 and we're left with 9.
Fetch the next digit (6) from the dividend, attach it to 9 and continue: 96 / 13

Advancing to step 4:
13 goes into 96 7 times with a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 417.0
Deduct 91 from 96 and we're left with 5.
Bring next digit (3) of the dividend behind the 5 and repeat the process: 53 / 13

Advancing to step 5:
The number 13 fits into 53 4 times, leaving a remainder of 1.
The next digit of our result is 4. 
Result so far: 4174.0
If we subtract 52 from 53, we get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 13

Advancing to step 6:
If we divide 18 by 13, we get 1 and a remainder of 5.
Use 1 as the next digit of our solution. 
Result so far: 41741.0
The remainder is 5 after subtracting 13 from 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 7:
The number 13 fits into 50 3 times, leaving a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 41741.3
Subtract 39 from 50 to get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Let's proceed to step 8:
13 can be fit into 110 8 times, resulting in a remainder of 6.
Write down 8 as next digit of the result. 
Result so far: 41741.38
Subtracting 104 from 110 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 9:
13 can be fit into 60 4 times, resulting in a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 41741.384
Deduct 52 from 60 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 10:
When dividing 80 by 13, we get 6 with a remainder of 2.
The number 6 becomes the next digit in our result. 
Result so far: 41741.3846
If we subtract 78 from 80, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 11:
13 goes into 20 1 times with a remainder of 7.
Write down 1 as next digit of the result. 
Result so far: 41741.38461
The remainder is 7 after subtracting 13 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 12:
13 goes into 70 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 41741.384615
Subtract 65 from 70 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 13:
13 can be fit into 50 3 times, resulting in a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 41741.3846153
If we take 39 away from 50, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Advancing to step 14:
110 divided by 13 is 8 with a remainder of 6.
Use 8 as the next digit of our solution. 
Result so far: 41741.38461538
Subtract 104 from 110 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Our division results in 41741.38461538 with a remaining 6e-09.