We divide 58221 by 42
Our goal is to divide 58221 by 42.

Step 1:
The number 42 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 42

Step 2:
58 divided by 42 is 1 with a remainder of 16.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Deduct 42 from 58 and we're left with 16.
Bring next digit (2) of the dividend behind the 16 and repeat the process: 162 / 42

Advancing to step 3:
42 can be fit into 162 3 times, resulting in a remainder of 36.
Put 3 as the next digit of the answer. 
Result so far: 13.0
Subtract 126 from 162 to get 36.
Fetch the next digit (2) from the dividend, attach it to 36 and continue: 362 / 42

Advancing to step 4:
42 can be fit into 362 8 times, resulting in a remainder of 26.
The number 8 becomes the next digit in our result. 
Result so far: 138.0
Subtracting 336 from 362 leaves us with 26.
Include the next digit (1) from the dividend after 26, then repeat: 261 / 42

Let's proceed to step 5:
When dividing 261 by 42, we get 6 with a remainder of 9.
Write down 6 as next digit of the result. 
Result so far: 1386.0
Deduct 252 from 261 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 6:
42 can be fit into 90 2 times, resulting in a remainder of 6.
The number 2 becomes the next digit in our result. 
Result so far: 1386.2
Deduct 84 from 90 and we're left 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.

Step 7:
If we divide 60 by 42, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 1386.21
The remainder is 18 after subtracting 42 from 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Going ahead to step 8:
The number 42 fits into 180 4 times, leaving a remainder of 12.
The next digit of our result is 4. 
Result so far: 1386.214
Deduct 168 from 180 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 9:
When dividing 120 by 42, we get 2 with a remainder of 36.
The next digit of our result is 2. 
Result so far: 1386.2142
Subtract 84 from 120 to get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 10:
If we divide 360 by 42, we get 8 and a remainder of 24.
Record the quotient 8 as the next digit in the result. 
Result so far: 1386.21428
If we take 336 away from 360, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 11:
240 divided by 42 is 5 with a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 1386.214285
The remainder is 30 after subtracting 210 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 12:
When dividing 300 by 42, we get 7 with a remainder of 6.
Write down 7 as next digit of the result. 
Result so far: 1386.2142857
If we subtract 294 from 300, we 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.

On to step 13:
If we divide 60 by 42, we get 1 and a remainder of 18.
Write down 1 as next digit of the result. 
Result so far: 1386.21428571
If we take 42 away from 60, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Our division results in 1386.21428571 with a remaining 1.8e-08.