We look at the division of 798565 by 19 
The aim is to understand the frequency of 19 in 798565.

Advancing to step 1:
7 divided by 19 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 7 after subtracting 0 from 7.
Append the next digit (9) from the dividend to 7 and continue with: 79 / 19

Moving on to step 2:
The number 19 fits into 79 4 times, leaving a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
If we subtract 76 from 79, we get 3.
Include the next digit (8) from the dividend after 3, then repeat: 38 / 19

Step 3:
38 divided by 19 is 2 with a remainder of 0.
The next digit of our result is 2. 
Result so far: 42.0
The remainder is 0 after subtracting 38 from 38.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 19

Step 4:
When dividing 5 by 19, we get 0 with a remainder of 5.
Use 0 as the next digit of our solution. 
Result so far: 420.0
Deduct 0 from 5 and we're left with 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 19

Advancing to step 5:
The number 19 fits into 56 2 times, leaving a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 4202.0
The remainder is 18 after subtracting 38 from 56.
Append the next digit (5) from the dividend to 18 and continue with: 185 / 19

Going ahead to step 6:
19 goes into 185 9 times with a remainder of 14.
Use 9 as the next digit of our solution. 
Result so far: 42029.0
If we take 171 away from 185, we end up with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 7:
If we divide 140 by 19, we get 7 and a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 42029.7
If we subtract 133 from 140, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Moving on to step 8:
If we divide 70 by 19, we get 3 and a remainder of 13.
The next digit of our result is 3. 
Result so far: 42029.73
Deduct 57 from 70 and we're left with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 9:
When dividing 130 by 19, we get 6 with a remainder of 16.
Record the quotient 6 as the next digit in the result. 
Result so far: 42029.736
If we subtract 114 from 130, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
If we divide 160 by 19, we get 8 and a remainder of 8.
Use 8 as the next digit of our solution. 
Result so far: 42029.7368
The remainder is 8 after subtracting 152 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Moving on to step 11:
19 goes into 80 4 times with a remainder of 4.
The number 4 becomes the next digit in our result. 
Result so far: 42029.73684
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 12:
19 can be fit into 40 2 times, resulting in a remainder of 2.
The number 2 becomes the next digit in our result. 
Result so far: 42029.736842
If we subtract 38 from 40, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 13:
19 can be fit into 20 1 times, resulting in a remainder of 1.
The next digit of our result is 1. 
Result so far: 42029.7368421
Subtracting 19 from 20 leaves us with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 14:
The number 19 fits into 10 0 times, leaving a remainder of 10.
The next digit of our result is 0. 
Result so far: 42029.7368421
Deduct 0 from 10 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 42029.7368421 with a remainder of 1e-08.