We're dividing 371064 by 21 
Let's see how many times 21 fits into 371064.

Step 1:
3 divided by 21 is 0 with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 21

On to step 2:
The number 21 fits into 37 1 times, leaving a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 21 from 37 to get 16.
Append the next digit (1) from the dividend to 16 and continue with: 161 / 21

Advancing to step 3:
21 goes into 161 7 times with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtracting 147 from 161 leaves us with 14.
Take the next digit (0) from the dividend and append it to 14, then repeat: 140 / 21

On to step 4:
When dividing 140 by 21, we get 6 with a remainder of 14.
Put 6 as the next digit of the answer. 
Result so far: 176.0
Deduct 126 from 140 and we're left with 14.
Include the next digit (6) from the dividend after 14, then repeat: 146 / 21

Advancing to step 5:
146 divided by 21 is 6 with a remainder of 20.
Use 6 as the next digit of our solution. 
Result so far: 1766.0
Subtracting 126 from 146 leaves us with 20.
Take the next digit (4) from the dividend and append it to 20, then repeat: 204 / 21

Advancing to step 6:
When dividing 204 by 21, we get 9 with a remainder of 15.
Write down 9 as next digit of the result. 
Result so far: 17669.0
If we subtract 189 from 204, we get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Step 7:
21 can be fit into 150 7 times, resulting in a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 17669.7
Subtracting 147 from 150 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Going ahead to step 8:
21 goes into 30 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 17669.71
Deduct 21 from 30 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.

Moving on to step 9:
90 divided by 21 is 4 with a remainder of 6.
Write down 4 as next digit of the result. 
Result so far: 17669.714
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.

On to step 10:
60 divided by 21 is 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 17669.7142
Deduct 42 from 60 and we're left 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.

Step 11:
The number 21 fits into 180 8 times, leaving a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 17669.71428
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.

Advancing to step 12:
The number 21 fits into 120 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 17669.714285
The remainder is 15 after subtracting 105 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

On to step 13:
When dividing 150 by 21, we get 7 with a remainder of 3.
Use 7 as the next digit of our solution. 
Result so far: 17669.7142857
The remainder is 3 after subtracting 147 from 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 14:
The number 21 fits into 30 1 times, leaving a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 17669.71428571
If we subtract 21 from 30, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The final outcome is 17669.71428571, with a leftover of 9e-09.