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

Going ahead to step 1:
When dividing 5 by 19, we get 0 with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (1) from the dividend, attach it to 5 and continue: 51 / 19

Advancing to step 2:
19 can be fit into 51 2 times, resulting in 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

On to step 3:
132 divided by 19 is 6 with a remainder of 18.
Write down 6 as next digit of the result. 
Result so far: 26.0
The remainder is 18 after subtracting 114 from 132.
Fetch the next digit (8) from the dividend, attach it to 18 and continue: 188 / 19

Going ahead to step 4:
When dividing 188 by 19, we get 9 with a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 269.0
Deduct 171 from 188 and we're left with 17.
Take the next digit (9) from the dividend and append it to 17, then repeat: 179 / 19

Going ahead to step 5:
179 divided by 19 is 9 with a remainder of 8.
Write down 9 as next digit of the result. 
Result so far: 2699.0
Deduct 171 from 179 and we're left with 8.
Fetch the next digit (9) from the dividend, attach it to 8 and continue: 89 / 19

Going ahead to step 6:
The number 19 fits into 89 4 times, leaving a remainder of 13.
The next digit of our result is 4. 
Result so far: 26994.0
The remainder is 13 after subtracting 76 from 89.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
When dividing 130 by 19, we get 6 with a remainder of 16.
Write down 6 as next digit of the result. 
Result so far: 26994.6
The remainder is 16 after subtracting 114 from 130.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 8:
When dividing 160 by 19, we get 8 with a remainder of 8.
Write down 8 as next digit of the result. 
Result so far: 26994.68
If we take 152 away from 160, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 9:
19 goes into 80 4 times with a remainder of 4.
The next digit of our result is 4. 
Result so far: 26994.684
Subtract 76 from 80 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
If we divide 40 by 19, we get 2 and a remainder of 2.
Use 2 as the next digit of our solution. 
Result so far: 26994.6842
Subtracting 38 from 40 leaves us with 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 11:
19 can be fit into 20 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 26994.68421
If we subtract 19 from 20, we get 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 12:
19 can be fit into 10 0 times, resulting in a remainder of 10.
Record the quotient 0 as the next digit in the result. 
Result so far: 26994.68421
Subtract 0 from 10 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 13:
19 can be fit into 100 5 times, resulting in a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 26994.6842105
The remainder is 5 after subtracting 95 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 14:
19 can be fit into 50 2 times, resulting in a remainder of 12.
The next digit of our result is 2. 
Result so far: 26994.68421052
Deduct 38 from 50 and we're left 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.

The quotient of the division is 26994.68421052, and the remainder is 1.2e-08.