We divide 512366 by 19
The aim is to understand the frequency of 19 in 512366.

On to step 1:
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: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 19

Step 2:
When dividing 51 by 19, we get 2 with a remainder of 13.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 13 after subtracting 38 from 51.
Take the next digit (2) from the dividend and append it to 13, then repeat: 132 / 19

Step 3:
19 goes into 132 6 times with a remainder of 18.
Record the quotient 6 as the next digit in the result. 
Result so far: 26.0
Subtracting 114 from 132 leaves us with 18.
Append the next digit (3) from the dividend to 18 and continue with: 183 / 19

Advancing to step 4:
183 divided by 19 is 9 with a remainder of 12.
Use 9 as the next digit of our solution. 
Result so far: 269.0
If we take 171 away from 183, we end up with 12.
Take the next digit (6) from the dividend and append it to 12, then repeat: 126 / 19

On to step 5:
If we divide 126 by 19, we get 6 and a remainder of 12.
Use 6 as the next digit of our solution. 
Result so far: 2696.0
The remainder is 12 after subtracting 114 from 126.
Append the next digit (6) from the dividend to 12 and continue with: 126 / 19

On to step 6:
The number 19 fits into 126 6 times, leaving a remainder of 12.
The next digit of our result is 6. 
Result so far: 26966.0
The remainder is 12 after subtracting 114 from 126.
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 7:
19 can be fit into 120 6 times, resulting in a remainder of 6.
The next digit of our result is 6. 
Result so far: 26966.6
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 8:
19 can be fit into 60 3 times, resulting in a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 26966.63
Deduct 57 from 60 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.

Advancing to step 9:
When dividing 30 by 19, we get 1 with a remainder of 11.
The number 1 becomes the next digit in our result. 
Result so far: 26966.631
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.

Step 10:
When dividing 110 by 19, we get 5 with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 26966.6315
The remainder is 15 after subtracting 95 from 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Let's proceed to step 11:
19 goes into 150 7 times with a remainder of 17.
The next digit of our result is 7. 
Result so far: 26966.63157
Deduct 133 from 150 and we're left 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.

Let's proceed to step 12:
19 goes into 170 8 times with a remainder of 18.
The number 8 becomes the next digit in our result. 
Result so far: 26966.631578
Subtract 152 from 170 to get 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 13:
If we divide 180 by 19, we get 9 and a remainder of 9.
Put 9 as the next digit of the answer. 
Result so far: 26966.6315789
Deduct 171 from 180 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
90 divided by 19 is 4 with a remainder of 14.
Use 4 as the next digit of our solution. 
Result so far: 26966.63157894
If we subtract 76 from 90, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

In conclusion, the division gives 26966.63157894 with a balance of 1.4e-08.