Let's divide 171782 by 19
The aim is to understand the frequency of 19 in 171782.

Going ahead to step 1:
When dividing 1 by 19, we get 0 with a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Append the next digit (7) from the dividend to 1 and continue with: 17 / 19

Step 2:
When dividing 17 by 19, we get 0 with a remainder of 17.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 17, we get 17.
Take the next digit (1) from the dividend and append it to 17, then repeat: 171 / 19

Going ahead to step 3:
When dividing 171 by 19, we get 9 with a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
The remainder is 0 after subtracting 171 from 171.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 19

Going ahead to step 4:
19 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 90.0
Subtracting 0 from 7 leaves us with 7.
Bring next digit (8) of the dividend behind the 7 and repeat the process: 78 / 19

Going ahead to step 5:
78 divided by 19 is 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 904.0
Subtract 76 from 78 to get 2.
Take the next digit (2) from the dividend and append it to 2, then repeat: 22 / 19

Going ahead to step 6:
If we divide 22 by 19, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 9041.0
Deduct 19 from 22 and we're left 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 7:
30 divided by 19 is 1 with a remainder of 11.
The next digit of our result is 1. 
Result so far: 9041.1
Subtracting 19 from 30 leaves us 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.

Advancing to step 8:
The number 19 fits into 110 5 times, leaving a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 9041.15
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.

Advancing to step 9:
150 divided by 19 is 7 with a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 9041.157
If we take 133 away from 150, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Going ahead to step 10:
If we divide 170 by 19, we get 8 and a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 9041.1578
Subtracting 152 from 170 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 11:
The number 19 fits into 180 9 times, leaving a remainder of 9.
Use 9 as the next digit of our solution. 
Result so far: 9041.15789
If we subtract 171 from 180, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 12:
19 can be fit into 90 4 times, resulting in a remainder of 14.
Write down 4 as next digit of the result. 
Result so far: 9041.157894
The remainder is 14 after subtracting 76 from 90.
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 13:
140 divided by 19 is 7 with a remainder of 7.
The next digit of our result is 7. 
Result so far: 9041.1578947
Deduct 133 from 140 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Let's proceed to step 14:
If we divide 70 by 19, we get 3 and a remainder of 13.
The number 3 becomes the next digit in our result. 
Result so far: 9041.15789473
Subtract 57 from 70 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The final outcome is 9041.15789473, with a leftover of 1.3e-08.