Let's divide 787222 by 21
Our goal is to divide 787222 by 21.

Going ahead to step 1:
7 divided by 21 is 0 with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 21

Going ahead to step 2:
If we divide 78 by 21, we get 3 and a remainder of 15.
The next digit of our result is 3. 
Result so far: 3.0
Subtracting 63 from 78 leaves us with 15.
Fetch the next digit (7) from the dividend, attach it to 15 and continue: 157 / 21

Advancing to step 3:
If we divide 157 by 21, we get 7 and a remainder of 10.
The next digit of our result is 7. 
Result so far: 37.0
If we subtract 147 from 157, we get 10.
Grab the next digit (2) from the dividend, add it to 10, then carry on: 102 / 21

Advancing to step 4:
21 can be fit into 102 4 times, resulting in a remainder of 18.
Put 4 as the next digit of the answer. 
Result so far: 374.0
The remainder is 18 after subtracting 84 from 102.
Take the next digit (2) from the dividend and append it to 18, then repeat: 182 / 21

Going ahead to step 5:
If we divide 182 by 21, we get 8 and a remainder of 14.
Write down 8 as next digit of the result. 
Result so far: 3748.0
The remainder is 14 after subtracting 168 from 182.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 21

Moving on to step 6:
If we divide 142 by 21, we get 6 and a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 37486.0
If we subtract 126 from 142, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 7:
21 can be fit into 160 7 times, resulting in a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 37486.7
If we subtract 147 from 160, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Moving on to step 8:
When dividing 130 by 21, we get 6 with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 37486.76
Subtract 126 from 130 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
The number 21 fits into 40 1 times, leaving a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 37486.761
The remainder is 19 after subtracting 21 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Let's proceed to step 10:
If we divide 190 by 21, we get 9 and a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 37486.7619
If we take 189 away from 190, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 11:
10 divided by 21 is 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 37486.7619
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 12:
21 can be fit into 100 4 times, resulting in a remainder of 16.
Put 4 as the next digit of the answer. 
Result so far: 37486.761904
Deduct 84 from 100 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 13:
21 can be fit into 160 7 times, resulting in a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 37486.7619047
If we take 147 away from 160, we end up with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 14:
21 goes into 130 6 times with a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 37486.76190476
Deduct 126 from 130 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Our division results in 37486.76190476 with a remaining 4e-09.