We're dividing 582974 by 19 
The aim is to understand the frequency of 19 in 582974.

Moving on to step 1:
19 goes into 5 0 times with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Take the next digit (8) from the dividend and append it to 5, then repeat: 58 / 19

Moving on to step 2:
The number 19 fits into 58 3 times, leaving a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 57 from 58 leaves us with 1.
Take the next digit (2) from the dividend and append it to 1, then repeat: 12 / 19

Moving on to step 3:
When dividing 12 by 19, we get 0 with a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 30.0
Deduct 0 from 12 and we're left with 12.
Grab the next digit (9) from the dividend, add it to 12, then carry on: 129 / 19

Advancing to step 4:
The number 19 fits into 129 6 times, leaving a remainder of 15.
Put 6 as the next digit of the answer. 
Result so far: 306.0
If we take 114 away from 129, we end up with 15.
Append the next digit (7) from the dividend to 15 and continue with: 157 / 19

On to step 5:
The number 19 fits into 157 8 times, leaving a remainder of 5.
Record the quotient 8 as the next digit in the result. 
Result so far: 3068.0
Deduct 152 from 157 and we're left with 5.
Fetch the next digit (4) from the dividend, attach it to 5 and continue: 54 / 19

Going ahead to step 6:
19 can be fit into 54 2 times, resulting in a remainder of 16.
Use 2 as the next digit of our solution. 
Result so far: 30682.0
Subtract 38 from 54 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
The number 19 fits into 160 8 times, leaving a remainder of 8.
The next digit of our result is 8. 
Result so far: 30682.8
If we subtract 152 from 160, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 8:
19 can be fit into 80 4 times, resulting in a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 30682.84
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 9:
If we divide 40 by 19, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 30682.842
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.

Let's proceed to step 10:
The number 19 fits into 20 1 times, leaving a remainder of 1.
The number 1 becomes the next digit in our result. 
Result so far: 30682.8421
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.

Going ahead to step 11:
The number 19 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 30682.8421
Deduct 0 from 10 and we're left 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.

Going ahead to step 12:
The number 19 fits into 100 5 times, leaving a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 30682.842105
Subtract 95 from 100 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 13:
The number 19 fits into 50 2 times, leaving a remainder of 12.
Put 2 as the next digit of the answer. 
Result so far: 30682.8421052
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.

On to step 14:
120 divided by 19 is 6 with a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 30682.84210526
If we take 114 away from 120, we end up 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.

The final outcome is 30682.84210526, with a leftover of 6e-09.