We divide 21178221 by 667
We're looking to find how many times 667 goes into 21178221.

Step 1:
The number 667 fits into 2 0 times, leaving a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Fetch the next digit (1) from the dividend, attach it to 2 and continue: 21 / 667

Let's proceed to step 2:
If we divide 21 by 667, we get 0 and a remainder of 21.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 21, we end up with 21.
Append the next digit (1) from the dividend to 21 and continue with: 211 / 667

Let's proceed to step 3:
When dividing 211 by 667, we get 0 with a remainder of 211.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 211, we get 211.
Take the next digit (7) from the dividend and append it to 211, then repeat: 2117 / 667

On to step 4:
2117 divided by 667 is 3 with a remainder of 116.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 2001 from 2117 leaves us with 116.
Append the next digit (8) from the dividend to 116 and continue with: 1168 / 667

On to step 5:
The number 667 fits into 1168 1 times, leaving a remainder of 501.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Deduct 667 from 1168 and we're left with 501.
Take the next digit (2) from the dividend and append it to 501, then repeat: 5012 / 667

Advancing to step 6:
The number 667 fits into 5012 7 times, leaving a remainder of 343.
Use 7 as the next digit of our solution. 
Result so far: 317.0
Deduct 4669 from 5012 and we're left with 343.
Fetch the next digit (2) from the dividend, attach it to 343 and continue: 3432 / 667

Going ahead to step 7:
3432 divided by 667 is 5 with a remainder of 97.
Put 5 as the next digit of the answer. 
Result so far: 3175.0
Subtract 3335 from 3432 to get 97.
Grab the next digit (1) from the dividend, add it to 97, then carry on: 971 / 667

Step 8:
667 can be fit into 971 1 times, resulting in a remainder of 304.
Record the quotient 1 as the next digit in the result. 
Result so far: 31751.0
The remainder is 304 after subtracting 667 from 971.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3040, and continue the process.

Advancing to step 9:
The number 667 fits into 3040 4 times, leaving a remainder of 372.
Use 4 as the next digit of our solution. 
Result so far: 31751.4
If we take 2668 away from 3040, we end up with 372.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3720, and continue the process.

Going ahead to step 10:
When dividing 3720 by 667, we get 5 with a remainder of 385.
Use 5 as the next digit of our solution. 
Result so far: 31751.45
Deduct 3335 from 3720 and we're left with 385.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3850, and continue the process.

Step 11:
If we divide 3850 by 667, we get 5 and a remainder of 515.
Use 5 as the next digit of our solution. 
Result so far: 31751.455
The remainder is 515 after subtracting 3335 from 3850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5150, and continue the process.

The quotient of the division is 31751.455, and the remainder is 0.0515.