We look at the division of 87798616 by 804 
The aim is to understand the frequency of 804 in 87798616.

Step 1:
804 goes into 8 0 times with a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Bring next digit (7) of the dividend behind the 8 and repeat the process: 87 / 804

Moving on to step 2:
87 divided by 804 is 0 with a remainder of 87.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 87 and we're left with 87.
Append the next digit (7) from the dividend to 87 and continue with: 877 / 804

Step 3:
If we divide 877 by 804, we get 1 and a remainder of 73.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we subtract 804 from 877, we get 73.
Append the next digit (9) from the dividend to 73 and continue with: 739 / 804

Advancing to step 4:
The number 804 fits into 739 0 times, leaving a remainder of 739.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtracting 0 from 739 leaves us with 739.
Bring next digit (8) of the dividend behind the 739 and repeat the process: 7398 / 804

Going ahead to step 5:
7398 divided by 804 is 9 with a remainder of 162.
The next digit of our result is 9. 
Result so far: 109.0
If we take 7236 away from 7398, we end up with 162.
Bring next digit (6) of the dividend behind the 162 and repeat the process: 1626 / 804

Let's proceed to step 6:
804 can be fit into 1626 2 times, resulting in a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 1092.0
The remainder is 18 after subtracting 1608 from 1626.
Fetch the next digit (1) from the dividend, attach it to 18 and continue: 181 / 804

On to step 7:
804 can be fit into 181 0 times, resulting in a remainder of 181.
The number 0 becomes the next digit in our result. 
Result so far: 10920.0
Subtract 0 from 181 to get 181.
Bring next digit (6) of the dividend behind the 181 and repeat the process: 1816 / 804

On to step 8:
1816 divided by 804 is 2 with a remainder of 208.
Write down 2 as next digit of the result. 
Result so far: 109202.0
Subtract 1608 from 1816 to get 208.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2080, and continue the process.

Let's proceed to step 9:
The number 804 fits into 2080 2 times, leaving a remainder of 472.
The next digit of our result is 2. 
Result so far: 109202.2
If we take 1608 away from 2080, we end up with 472.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4720, and continue the process.

Step 10:
804 can be fit into 4720 5 times, resulting in a remainder of 700.
Write down 5 as next digit of the result. 
Result so far: 109202.25
If we subtract 4020 from 4720, we get 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7000, and continue the process.

Advancing to step 11:
7000 divided by 804 is 8 with a remainder of 568.
The number 8 becomes the next digit in our result. 
Result so far: 109202.258
If we take 6432 away from 7000, we end up with 568.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5680, and continue the process.

Step 12:
When dividing 5680 by 804, we get 7 with a remainder of 52.
Use 7 as the next digit of our solution. 
Result so far: 109202.2587
If we subtract 5628 from 5680, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Moving on to step 13:
804 goes into 520 0 times with a remainder of 520.
Record the quotient 0 as the next digit in the result. 
Result so far: 109202.2587
If we take 0 away from 520, we end up with 520.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5200, and continue the process.

Let's proceed to step 14:
804 can be fit into 5200 6 times, resulting in a remainder of 376.
The next digit of our result is 6. 
Result so far: 109202.258706
If we take 4824 away from 5200, we end up with 376.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3760, and continue the process.

Step 15:
The number 804 fits into 3760 4 times, leaving a remainder of 544.
The next digit of our result is 4. 
Result so far: 109202.2587064
If we take 3216 away from 3760, we end up with 544.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5440, and continue the process.

On to step 16:
If we divide 5440 by 804, we get 6 and a remainder of 616.
Write down 6 as next digit of the result. 
Result so far: 109202.25870646
If we take 4824 away from 5440, we end up with 616.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6160, and continue the process.

The final outcome is 109202.25870646, with a leftover of 6.16e-07.