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

Let's proceed to step 1:
107 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 107

Step 2:
When dividing 87 by 107, we get 0 with a remainder of 87.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Include the next digit (9) from the dividend after 87, then repeat: 879 / 107

Step 3:
The number 107 fits into 879 8 times, leaving a remainder of 23.
Write down 8 as next digit of the result. 
Result so far: 8.0
If we subtract 856 from 879, we get 23.
Take the next digit (3) from the dividend and append it to 23, then repeat: 233 / 107

Going ahead to step 4:
107 can be fit into 233 2 times, resulting in a remainder of 19.
Use 2 as the next digit of our solution. 
Result so far: 82.0
If we subtract 214 from 233, we get 19.
Grab the next digit (1) from the dividend, add it to 19, then carry on: 191 / 107

On to step 5:
191 divided by 107 is 1 with a remainder of 84.
The next digit of our result is 1. 
Result so far: 821.0
If we take 107 away from 191, we end up with 84.
Include the next digit (6) from the dividend after 84, then repeat: 846 / 107

Step 6:
When dividing 846 by 107, we get 7 with a remainder of 97.
The number 7 becomes the next digit in our result. 
Result so far: 8217.0
Deduct 749 from 846 and we're left with 97.
Fetch the next digit (1) from the dividend, attach it to 97 and continue: 971 / 107

Going ahead to step 7:
When dividing 971 by 107, we get 9 with a remainder of 8.
The next digit of our result is 9. 
Result so far: 82179.0
Subtracting 963 from 971 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 8:
80 divided by 107 is 0 with a remainder of 80.
Use 0 as the next digit of our solution. 
Result so far: 82179.0
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

Going ahead to step 9:
107 goes into 800 7 times with a remainder of 51.
Record the quotient 7 as the next digit in the result. 
Result so far: 82179.07
If we subtract 749 from 800, we get 51.
Since there are no more digits in the dividend, we add a zero to the remainder making it 510, and continue the process.

On to step 10:
107 can be fit into 510 4 times, resulting in a remainder of 82.
The number 4 becomes the next digit in our result. 
Result so far: 82179.074
If we subtract 428 from 510, we get 82.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 11:
If we divide 820 by 107, we get 7 and a remainder of 71.
Put 7 as the next digit of the answer. 
Result so far: 82179.0747
Deduct 749 from 820 and we're left with 71.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

On to step 12:
107 goes into 710 6 times with a remainder of 68.
The number 6 becomes the next digit in our result. 
Result so far: 82179.07476
If we subtract 642 from 710, we get 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Moving on to step 13:
The number 107 fits into 680 6 times, leaving a remainder of 38.
Use 6 as the next digit of our solution. 
Result so far: 82179.074766
Deduct 642 from 680 and we're left with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

After the division, we end up with 82179.074766 and a remainder of 3.8e-06.