Let's divide 96798682 by 865
The aim is to understand the frequency of 865 in 96798682.

Going ahead to step 1:
When dividing 9 by 865, we get 0 with a remainder of 9.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 9, we end up with 9.
Grab the next digit (6) from the dividend, add it to 9, then carry on: 96 / 865

On to step 2:
The number 865 fits into 96 0 times, leaving a remainder of 96.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 96 leaves us with 96.
Grab the next digit (7) from the dividend, add it to 96, then carry on: 967 / 865

Moving on to step 3:
865 can be fit into 967 1 times, resulting in a remainder of 102.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 865 from 967, we get 102.
Take the next digit (9) from the dividend and append it to 102, then repeat: 1029 / 865

Let's proceed to step 4:
The number 865 fits into 1029 1 times, leaving a remainder of 164.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we subtract 865 from 1029, we get 164.
Append the next digit (8) from the dividend to 164 and continue with: 1648 / 865

Step 5:
When dividing 1648 by 865, we get 1 with a remainder of 783.
Use 1 as the next digit of our solution. 
Result so far: 111.0
The remainder is 783 after subtracting 865 from 1648.
Include the next digit (6) from the dividend after 783, then repeat: 7836 / 865

On to step 6:
If we divide 7836 by 865, we get 9 and a remainder of 51.
Put 9 as the next digit of the answer. 
Result so far: 1119.0
If we subtract 7785 from 7836, we get 51.
Bring next digit (8) of the dividend behind the 51 and repeat the process: 518 / 865

Step 7:
When dividing 518 by 865, we get 0 with a remainder of 518.
Use 0 as the next digit of our solution. 
Result so far: 11190.0
Subtracting 0 from 518 leaves us with 518.
Bring next digit (2) of the dividend behind the 518 and repeat the process: 5182 / 865

Advancing to step 8:
When dividing 5182 by 865, we get 5 with a remainder of 857.
Use 5 as the next digit of our solution. 
Result so far: 111905.0
Subtract 4325 from 5182 to get 857.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8570, and continue the process.

Moving on to step 9:
865 can be fit into 8570 9 times, resulting in a remainder of 785.
Write down 9 as next digit of the result. 
Result so far: 111905.9
The remainder is 785 after subtracting 7785 from 8570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7850, and continue the process.

Step 10:
865 can be fit into 7850 9 times, resulting in a remainder of 65.
Use 9 as the next digit of our solution. 
Result so far: 111905.99
Subtracting 7785 from 7850 leaves us with 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

After the division, we end up with 111905.99 and a remainder of 0.065.