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

On to step 1:
19 can be fit into 3 0 times, resulting in a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 19

Going ahead to step 2:
If we divide 32 by 19, we get 1 and a remainder of 13.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Subtract 19 from 32 to get 13.
Take the next digit (2) from the dividend and append it to 13, then repeat: 132 / 19

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

Let's proceed to step 4:
When dividing 181 by 19, we get 9 with a remainder of 10.
The number 9 becomes the next digit in our result. 
Result so far: 169.0
Subtract 171 from 181 to get 10.
Fetch the next digit (6) from the dividend, attach it to 10 and continue: 106 / 19

Going ahead to step 5:
If we divide 106 by 19, we get 5 and a remainder of 11.
Write down 5 as next digit of the result. 
Result so far: 1695.0
Deduct 95 from 106 and we're left with 11.
Grab the next digit (5) from the dividend, add it to 11, then carry on: 115 / 19

Let's proceed to step 6:
The number 19 fits into 115 6 times, leaving a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 16956.0
Deduct 114 from 115 and we're left 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.

On to step 7:
The number 19 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 16956.0
If we take 0 away from 10, we end up 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 8:
When dividing 100 by 19, we get 5 with a remainder of 5.
The next digit of our result is 5. 
Result so far: 16956.05
Deduct 95 from 100 and we're left 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.

Advancing to step 9:
50 divided by 19 is 2 with a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 16956.052
The remainder is 12 after subtracting 38 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
19 goes into 120 6 times with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 16956.0526
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.

On to step 11:
60 divided by 19 is 3 with a remainder of 3.
Record the quotient 3 as the next digit in the result. 
Result so far: 16956.05263
Subtracting 57 from 60 leaves us 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.

Let's proceed to step 12:
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: 16956.052631
The remainder is 11 after subtracting 19 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

On to step 13:
The number 19 fits into 110 5 times, leaving a remainder of 15.
The next digit of our result is 5. 
Result so far: 16956.0526315
Subtracting 95 from 110 leaves us 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.

Advancing to step 14:
If we divide 150 by 19, we get 7 and a remainder of 17.
The next digit of our result is 7. 
Result so far: 16956.05263157
If we subtract 133 from 150, we get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

After the division, we end up with 16956.05263157 and a remainder of 1.7e-08.