We divide 491574 by 38
The aim is to understand the frequency of 38 in 491574.

Let's proceed to step 1:
38 goes into 4 0 times with a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 4 after subtracting 0 from 4.
Take the next digit (9) from the dividend and append it to 4, then repeat: 49 / 38

Advancing to step 2:
The number 38 fits into 49 1 times, leaving a remainder of 11.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 38 from 49, we get 11.
Take the next digit (1) from the dividend and append it to 11, then repeat: 111 / 38

On to step 3:
If we divide 111 by 38, we get 2 and a remainder of 35.
The next digit of our result is 2. 
Result so far: 12.0
Subtract 76 from 111 to get 35.
Take the next digit (5) from the dividend and append it to 35, then repeat: 355 / 38

Step 4:
If we divide 355 by 38, we get 9 and a remainder of 13.
The next digit of our result is 9. 
Result so far: 129.0
If we subtract 342 from 355, we get 13.
Append the next digit (7) from the dividend to 13 and continue with: 137 / 38

Step 5:
The number 38 fits into 137 3 times, leaving a remainder of 23.
The number 3 becomes the next digit in our result. 
Result so far: 1293.0
Subtract 114 from 137 to get 23.
Fetch the next digit (4) from the dividend, attach it to 23 and continue: 234 / 38

Step 6:
If we divide 234 by 38, we get 6 and a remainder of 6.
Put 6 as the next digit of the answer. 
Result so far: 12936.0
If we take 228 away from 234, 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.

On to step 7:
The number 38 fits into 60 1 times, leaving a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 12936.1
Subtract 38 from 60 to get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Advancing to step 8:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 12936.15
If we take 190 away from 220, we end up with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 9:
The number 38 fits into 300 7 times, leaving a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 12936.157
Subtract 266 from 300 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Let's proceed to step 10:
340 divided by 38 is 8 with a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 12936.1578
The remainder is 36 after subtracting 304 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Going ahead to step 11:
When dividing 360 by 38, we get 9 with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 12936.15789
Subtract 342 from 360 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.

Moving on to step 12:
38 goes into 180 4 times with a remainder of 28.
Record the quotient 4 as the next digit in the result. 
Result so far: 12936.157894
Deduct 152 from 180 and we're left with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 13:
280 divided by 38 is 7 with a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 12936.1578947
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 14:
If we divide 140 by 38, we get 3 and a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 12936.15789473
Deduct 114 from 140 and we're left with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final outcome is 12936.15789473, with a leftover of 2.6e-08.