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

Let's proceed to step 1:
If we divide 9 by 793, we get 0 and a remainder of 9.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 793

Moving on to step 2:
793 goes into 98 0 times with a remainder of 98.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 98 leaves us with 98.
Append the next digit (1) from the dividend to 98 and continue with: 981 / 793

Going ahead to step 3:
981 divided by 793 is 1 with a remainder of 188.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Deduct 793 from 981 and we're left with 188.
Bring next digit (6) of the dividend behind the 188 and repeat the process: 1886 / 793

Advancing to step 4:
If we divide 1886 by 793, we get 2 and a remainder of 300.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Deduct 1586 from 1886 and we're left with 300.
Fetch the next digit (6) from the dividend, attach it to 300 and continue: 3006 / 793

Let's proceed to step 5:
793 goes into 3006 3 times with a remainder of 627.
The next digit of our result is 3. 
Result so far: 123.0
Subtracting 2379 from 3006 leaves us with 627.
Append the next digit (8) from the dividend to 627 and continue with: 6278 / 793

Step 6:
793 goes into 6278 7 times with a remainder of 727.
The next digit of our result is 7. 
Result so far: 1237.0
The remainder is 727 after subtracting 5551 from 6278.
Include the next digit (5) from the dividend after 727, then repeat: 7275 / 793

Moving on to step 7:
793 can be fit into 7275 9 times, resulting in a remainder of 138.
The next digit of our result is 9. 
Result so far: 12379.0
If we take 7137 away from 7275, we end up with 138.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1380, and continue the process.

Moving on to step 8:
If we divide 1380 by 793, we get 1 and a remainder of 587.
Use 1 as the next digit of our solution. 
Result so far: 12379.1
The remainder is 587 after subtracting 793 from 1380.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5870, and continue the process.

Advancing to step 9:
793 goes into 5870 7 times with a remainder of 319.
Write down 7 as next digit of the result. 
Result so far: 12379.17
Subtracting 5551 from 5870 leaves us with 319.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3190, and continue the process.

Advancing to step 10:
The number 793 fits into 3190 4 times, leaving a remainder of 18.
Write down 4 as next digit of the result. 
Result so far: 12379.174
Deduct 3172 from 3190 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.

On to step 11:
793 can be fit into 180 0 times, resulting in a remainder of 180.
The number 0 becomes the next digit in our result. 
Result so far: 12379.174
Deduct 0 from 180 and we're left with 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Advancing to step 12:
793 can be fit into 1800 2 times, resulting in a remainder of 214.
Write down 2 as next digit of the result. 
Result so far: 12379.17402
If we take 1586 away from 1800, we end up with 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Advancing to step 13:
793 can be fit into 2140 2 times, resulting in a remainder of 554.
The next digit of our result is 2. 
Result so far: 12379.174022
If we take 1586 away from 2140, we end up with 554.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5540, and continue the process.

In conclusion, the division gives 12379.174022 with a balance of 5.54e-05.