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

Let's proceed to step 1:
When dividing 5 by 19, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 19

Advancing to step 2:
If we divide 50 by 19, we get 2 and a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Subtracting 38 from 50 leaves us with 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 19

On to step 3:
The number 19 fits into 120 6 times, leaving a remainder of 6.
The next digit of our result is 6. 
Result so far: 26.0
Subtracting 114 from 120 leaves us with 6.
Grab the next digit (2) from the dividend, add it to 6, then carry on: 62 / 19

On to step 4:
If we divide 62 by 19, we get 3 and a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 263.0
The remainder is 5 after subtracting 57 from 62.
Bring next digit (9) of the dividend behind the 5 and repeat the process: 59 / 19

Step 5:
19 goes into 59 3 times with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 2633.0
Subtracting 57 from 59 leaves us with 2.
Take the next digit (1) from the dividend and append it to 2, then repeat: 21 / 19

Going ahead to step 6:
19 can be fit into 21 1 times, resulting in a remainder of 2.
The next digit of our result is 1. 
Result so far: 26331.0
The remainder is 2 after subtracting 19 from 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
19 goes into 20 1 times with a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 26331.1
If we take 19 away from 20, we end up 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.

Moving on to step 8:
10 divided by 19 is 0 with a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 26331.1
Subtracting 0 from 10 leaves us 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.

Step 9:
The number 19 fits into 100 5 times, leaving a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 26331.105
Subtracting 95 from 100 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 10:
If we divide 50 by 19, we get 2 and a remainder of 12.
The number 2 becomes the next digit in our result. 
Result so far: 26331.1052
Subtracting 38 from 50 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 11:
19 can be fit into 120 6 times, resulting in a remainder of 6.
Write down 6 as next digit of the result. 
Result so far: 26331.10526
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 12:
If we divide 60 by 19, we get 3 and a remainder of 3.
Put 3 as the next digit of the answer. 
Result so far: 26331.105263
If we take 57 away from 60, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 13:
19 can be fit into 30 1 times, resulting in a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 26331.1052631
Deduct 19 from 30 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 14:
19 goes into 110 5 times with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 26331.10526315
Deduct 95 from 110 and we're left with 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

In conclusion, the division gives 26331.10526315 with a balance of 1.5e-08.