We're dividing 87313219 by 667 
We want to figure out the number of times 87313219 can be divided by 667.

Moving on to step 1:
If we divide 8 by 667, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 667

On to step 2:
If we divide 87 by 667, we get 0 and a remainder of 87.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 87, we get 87.
Append the next digit (3) from the dividend to 87 and continue with: 873 / 667

Step 3:
667 goes into 873 1 times with a remainder of 206.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 667 from 873, we get 206.
Include the next digit (1) from the dividend after 206, then repeat: 2061 / 667

Moving on to step 4:
When dividing 2061 by 667, we get 3 with a remainder of 60.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtract 2001 from 2061 to get 60.
Bring next digit (3) of the dividend behind the 60 and repeat the process: 603 / 667

On to step 5:
603 divided by 667 is 0 with a remainder of 603.
The number 0 becomes the next digit in our result. 
Result so far: 130.0
The remainder is 603 after subtracting 0 from 603.
Append the next digit (2) from the dividend to 603 and continue with: 6032 / 667

Advancing to step 6:
When dividing 6032 by 667, we get 9 with a remainder of 29.
The number 9 becomes the next digit in our result. 
Result so far: 1309.0
If we subtract 6003 from 6032, we get 29.
Include the next digit (1) from the dividend after 29, then repeat: 291 / 667

Going ahead to step 7:
291 divided by 667 is 0 with a remainder of 291.
Put 0 as the next digit of the answer. 
Result so far: 13090.0
The remainder is 291 after subtracting 0 from 291.
Grab the next digit (9) from the dividend, add it to 291, then carry on: 2919 / 667

Going ahead to step 8:
When dividing 2919 by 667, we get 4 with a remainder of 251.
The number 4 becomes the next digit in our result. 
Result so far: 130904.0
If we take 2668 away from 2919, we end up with 251.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2510, and continue the process.

On to step 9:
667 goes into 2510 3 times with a remainder of 509.
Write down 3 as next digit of the result. 
Result so far: 130904.3
The remainder is 509 after subtracting 2001 from 2510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5090, and continue the process.

Step 10:
667 can be fit into 5090 7 times, resulting in a remainder of 421.
Put 7 as the next digit of the answer. 
Result so far: 130904.37
If we subtract 4669 from 5090, we get 421.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4210, and continue the process.

Let's proceed to step 11:
If we divide 4210 by 667, we get 6 and a remainder of 208.
Record the quotient 6 as the next digit in the result. 
Result so far: 130904.376
If we take 4002 away from 4210, we end up with 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Advancing to step 12:
If we divide 2080 by 667, we get 3 and a remainder of 79.
The next digit of our result is 3. 
Result so far: 130904.3763
If we take 2001 away from 2080, we end up with 79.
Since there are no more digits in the dividend, we add a zero to the remainder making it 790, and continue the process.

Step 13:
The number 667 fits into 790 1 times, leaving a remainder of 123.
Use 1 as the next digit of our solution. 
Result so far: 130904.37631
Subtracting 667 from 790 leaves us with 123.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1230, and continue the process.

On to step 14:
If we divide 1230 by 667, we get 1 and a remainder of 563.
Put 1 as the next digit of the answer. 
Result so far: 130904.376311
Subtract 667 from 1230 to get 563.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5630, and continue the process.

The quotient of the division is 130904.376311, and the remainder is 5.63e-05.