We look at the division of 8676877 by 793 
The aim is to understand the frequency of 793 in 8676877.

Going ahead to step 1:
When dividing 8 by 793, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Grab the next digit (6) from the dividend, add it to 8, then carry on: 86 / 793

On to step 2:
The number 793 fits into 86 0 times, leaving a remainder of 86.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 86, we end up with 86.
Include the next digit (7) from the dividend after 86, then repeat: 867 / 793

Moving on to step 3:
793 goes into 867 1 times with a remainder of 74.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtracting 793 from 867 leaves us with 74.
Bring next digit (6) of the dividend behind the 74 and repeat the process: 746 / 793

Going ahead to step 4:
The number 793 fits into 746 0 times, leaving a remainder of 746.
The next digit of our result is 0. 
Result so far: 10.0
If we take 0 away from 746, we end up with 746.
Bring next digit (8) of the dividend behind the 746 and repeat the process: 7468 / 793

Step 5:
The number 793 fits into 7468 9 times, leaving a remainder of 331.
Use 9 as the next digit of our solution. 
Result so far: 109.0
If we take 7137 away from 7468, we end up with 331.
Bring next digit (7) of the dividend behind the 331 and repeat the process: 3317 / 793

Step 6:
793 goes into 3317 4 times with a remainder of 145.
Record the quotient 4 as the next digit in the result. 
Result so far: 1094.0
If we take 3172 away from 3317, we end up with 145.
Bring next digit (7) of the dividend behind the 145 and repeat the process: 1457 / 793

Going ahead to step 7:
1457 divided by 793 is 1 with a remainder of 664.
The next digit of our result is 1. 
Result so far: 10941.0
Subtract 793 from 1457 to get 664.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6640, and continue the process.

Going ahead to step 8:
793 goes into 6640 8 times with a remainder of 296.
Write down 8 as next digit of the result. 
Result so far: 10941.8
If we take 6344 away from 6640, we end up with 296.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2960, and continue the process.

Step 9:
If we divide 2960 by 793, we get 3 and a remainder of 581.
Put 3 as the next digit of the answer. 
Result so far: 10941.83
If we subtract 2379 from 2960, we get 581.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5810, and continue the process.

On to step 10:
The number 793 fits into 5810 7 times, leaving a remainder of 259.
Record the quotient 7 as the next digit in the result. 
Result so far: 10941.837
The remainder is 259 after subtracting 5551 from 5810.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2590, and continue the process.

Let's proceed to step 11:
If we divide 2590 by 793, we get 3 and a remainder of 211.
The number 3 becomes the next digit in our result. 
Result so far: 10941.8373
Deduct 2379 from 2590 and we're left with 211.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2110, and continue the process.

Going ahead to step 12:
When dividing 2110 by 793, we get 2 with a remainder of 524.
Use 2 as the next digit of our solution. 
Result so far: 10941.83732
If we subtract 1586 from 2110, we get 524.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5240, and continue the process.

Let's proceed to step 13:
5240 divided by 793 is 6 with a remainder of 482.
Put 6 as the next digit of the answer. 
Result so far: 10941.837326
Deduct 4758 from 5240 and we're left with 482.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4820, and continue the process.

Let's proceed to step 14:
793 can be fit into 4820 6 times, resulting in a remainder of 62.
The next digit of our result is 6. 
Result so far: 10941.8373266
Subtract 4758 from 4820 to get 62.
Since there are no more digits in the dividend, we add a zero to the remainder making it 620, and continue the process.

The quotient of the division is 10941.8373266, and the remainder is 6.2e-07.