Let's divide 291787 by 21
We want to figure out the number of times 291787 can be divided by 21.

Going ahead to step 1:
21 goes into 2 0 times with a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Include the next digit (9) from the dividend after 2, then repeat: 29 / 21

Let's proceed to step 2:
The number 21 fits into 29 1 times, leaving a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 21 from 29, we get 8.
Grab the next digit (1) from the dividend, add it to 8, then carry on: 81 / 21

Going ahead to step 3:
81 divided by 21 is 3 with a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 13.0
If we subtract 63 from 81, we get 18.
Grab the next digit (7) from the dividend, add it to 18, then carry on: 187 / 21

Going ahead to step 4:
The number 21 fits into 187 8 times, leaving a remainder of 19.
The next digit of our result is 8. 
Result so far: 138.0
Subtracting 168 from 187 leaves us with 19.
Take the next digit (8) from the dividend and append it to 19, then repeat: 198 / 21

On to step 5:
21 goes into 198 9 times with a remainder of 9.
Record the quotient 9 as the next digit in the result. 
Result so far: 1389.0
The remainder is 9 after subtracting 189 from 198.
Fetch the next digit (7) from the dividend, attach it to 9 and continue: 97 / 21

On to step 6:
The number 21 fits into 97 4 times, leaving a remainder of 13.
Write down 4 as next digit of the result. 
Result so far: 13894.0
If we take 84 away from 97, 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.

Moving on to step 7:
If we divide 130 by 21, we get 6 and a remainder of 4.
Use 6 as the next digit of our solution. 
Result so far: 13894.6
If we take 126 away from 130, we end up 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.

Step 8:
When dividing 40 by 21, we get 1 with a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 13894.61
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.

Going ahead to step 9:
21 can be fit into 190 9 times, resulting in a remainder of 1.
The number 9 becomes the next digit in our result. 
Result so far: 13894.619
Subtract 189 from 190 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Moving on to step 10:
21 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 13894.619
Deduct 0 from 10 and we're left 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 11:
The number 21 fits into 100 4 times, leaving a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 13894.61904
Subtracting 84 from 100 leaves us 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.

Step 12:
The number 21 fits into 160 7 times, leaving a remainder of 13.
The number 7 becomes the next digit in our result. 
Result so far: 13894.619047
Deduct 147 from 160 and we're left 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.

Moving on to step 13:
21 can be fit into 130 6 times, resulting in a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 13894.6190476
If we subtract 126 from 130, we 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.

On to step 14:
If we divide 40 by 21, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 13894.61904761
If we take 21 away from 40, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

The final outcome is 13894.61904761, with a leftover of 1.9e-08.