Let's divide 98565847 by 797
The aim is to understand the frequency of 797 in 98565847.

Step 1:
If we divide 9 by 797, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (8) from the dividend to 9 and continue with: 98 / 797

Advancing to step 2:
If we divide 98 by 797, we get 0 and 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.
Bring next digit (5) of the dividend behind the 98 and repeat the process: 985 / 797

Moving on to step 3:
If we divide 985 by 797, we get 1 and a remainder of 188.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 797 from 985 to get 188.
Append the next digit (6) from the dividend to 188 and continue with: 1886 / 797

Step 4:
797 can be fit into 1886 2 times, resulting in a remainder of 292.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtracting 1594 from 1886 leaves us with 292.
Fetch the next digit (5) from the dividend, attach it to 292 and continue: 2925 / 797

Advancing to step 5:
2925 divided by 797 is 3 with a remainder of 534.
Use 3 as the next digit of our solution. 
Result so far: 123.0
Subtract 2391 from 2925 to get 534.
Take the next digit (8) from the dividend and append it to 534, then repeat: 5348 / 797

Step 6:
797 goes into 5348 6 times with a remainder of 566.
Record the quotient 6 as the next digit in the result. 
Result so far: 1236.0
If we take 4782 away from 5348, we end up with 566.
Include the next digit (4) from the dividend after 566, then repeat: 5664 / 797

On to step 7:
797 can be fit into 5664 7 times, resulting in a remainder of 85.
Record the quotient 7 as the next digit in the result. 
Result so far: 12367.0
The remainder is 85 after subtracting 5579 from 5664.
Grab the next digit (7) from the dividend, add it to 85, then carry on: 857 / 797

On to step 8:
797 goes into 857 1 times with a remainder of 60.
Record the quotient 1 as the next digit in the result. 
Result so far: 123671.0
If we subtract 797 from 857, we get 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Let's proceed to step 9:
600 divided by 797 is 0 with a remainder of 600.
Write down 0 as next digit of the result. 
Result so far: 123671.0
Subtracting 0 from 600 leaves us with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Let's proceed to step 10:
797 goes into 6000 7 times with a remainder of 421.
Put 7 as the next digit of the answer. 
Result so far: 123671.07
Deduct 5579 from 6000 and we're left with 421.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4210, and continue the process.

Advancing to step 11:
797 goes into 4210 5 times with a remainder of 225.
Record the quotient 5 as the next digit in the result. 
Result so far: 123671.075
If we take 3985 away from 4210, we end up with 225.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2250, and continue the process.

Let's proceed to step 12:
If we divide 2250 by 797, we get 2 and a remainder of 656.
Use 2 as the next digit of our solution. 
Result so far: 123671.0752
The remainder is 656 after subtracting 1594 from 2250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6560, and continue the process.

Moving on to step 13:
6560 divided by 797 is 8 with a remainder of 184.
The number 8 becomes the next digit in our result. 
Result so far: 123671.07528
Deduct 6376 from 6560 and we're left with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

Advancing to step 14:
797 can be fit into 1840 2 times, resulting in a remainder of 246.
The number 2 becomes the next digit in our result. 
Result so far: 123671.075282
If we subtract 1594 from 1840, we get 246.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Let's proceed to step 15:
797 goes into 2460 3 times with a remainder of 69.
Put 3 as the next digit of the answer. 
Result so far: 123671.0752823
If we subtract 2391 from 2460, we get 69.
Since there are no more digits in the dividend, we add a zero to the remainder making it 690, and continue the process.

Going ahead to step 16:
797 goes into 690 0 times with a remainder of 690.
The number 0 becomes the next digit in our result. 
Result so far: 123671.0752823
If we take 0 away from 690, we end up with 690.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6900, and continue the process.

After the division, we end up with 123671.0752823 and a remainder of 6.9e-07.