We look at the division of 80786905 by 797 
The aim is to understand the frequency of 797 in 80786905.

Going ahead to step 1:
When dividing 8 by 797, we get 0 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.
Include the next digit (0) from the dividend after 8, then repeat: 80 / 797

Step 2:
797 goes into 80 0 times with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 80 leaves us with 80.
Fetch the next digit (7) from the dividend, attach it to 80 and continue: 807 / 797

Let's proceed to step 3:
797 can be fit into 807 1 times, resulting in a remainder of 10.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 797 away from 807, we end up with 10.
Append the next digit (8) from the dividend to 10 and continue with: 108 / 797

Going ahead to step 4:
797 goes into 108 0 times with a remainder of 108.
Put 0 as the next digit of the answer. 
Result so far: 10.0
The remainder is 108 after subtracting 0 from 108.
Grab the next digit (6) from the dividend, add it to 108, then carry on: 1086 / 797

Advancing to step 5:
1086 divided by 797 is 1 with a remainder of 289.
Write down 1 as next digit of the result. 
Result so far: 101.0
If we take 797 away from 1086, we end up with 289.
Bring next digit (9) of the dividend behind the 289 and repeat the process: 2899 / 797

Let's proceed to step 6:
When dividing 2899 by 797, we get 3 with a remainder of 508.
Record the quotient 3 as the next digit in the result. 
Result so far: 1013.0
Subtracting 2391 from 2899 leaves us with 508.
Bring next digit (0) of the dividend behind the 508 and repeat the process: 5080 / 797

Moving on to step 7:
797 goes into 5080 6 times with a remainder of 298.
Put 6 as the next digit of the answer. 
Result so far: 10136.0
The remainder is 298 after subtracting 4782 from 5080.
Take the next digit (5) from the dividend and append it to 298, then repeat: 2985 / 797

Let's proceed to step 8:
If we divide 2985 by 797, we get 3 and a remainder of 594.
The next digit of our result is 3. 
Result so far: 101363.0
Deduct 2391 from 2985 and we're left with 594.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5940, and continue the process.

Moving on to step 9:
When dividing 5940 by 797, we get 7 with a remainder of 361.
Record the quotient 7 as the next digit in the result. 
Result so far: 101363.7
Subtract 5579 from 5940 to get 361.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3610, and continue the process.

Advancing to step 10:
797 goes into 3610 4 times with a remainder of 422.
Put 4 as the next digit of the answer. 
Result so far: 101363.74
If we take 3188 away from 3610, we end up with 422.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4220, and continue the process.

Let's proceed to step 11:
4220 divided by 797 is 5 with a remainder of 235.
Put 5 as the next digit of the answer. 
Result so far: 101363.745
Subtract 3985 from 4220 to get 235.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2350, and continue the process.

Let's proceed to step 12:
797 can be fit into 2350 2 times, resulting in a remainder of 756.
Write down 2 as next digit of the result. 
Result so far: 101363.7452
If we take 1594 away from 2350, we end up with 756.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7560, and continue the process.

Going ahead to step 13:
7560 divided by 797 is 9 with a remainder of 387.
Write down 9 as next digit of the result. 
Result so far: 101363.74529
If we take 7173 away from 7560, we end up with 387.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3870, and continue the process.

Advancing to step 14:
When dividing 3870 by 797, we get 4 with a remainder of 682.
The next digit of our result is 4. 
Result so far: 101363.745294
Subtracting 3188 from 3870 leaves us with 682.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6820, and continue the process.

Going ahead to step 15:
If we divide 6820 by 797, we get 8 and a remainder of 444.
Use 8 as the next digit of our solution. 
Result so far: 101363.7452948
Deduct 6376 from 6820 and we're left with 444.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4440, and continue the process.

Going ahead to step 16:
The number 797 fits into 4440 5 times, leaving a remainder of 455.
Write down 5 as next digit of the result. 
Result so far: 101363.74529485
Deduct 3985 from 4440 and we're left with 455.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4550, and continue the process.

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