We look at the division of 791754 by 38 
The aim is to understand the frequency of 38 in 791754.

Advancing to step 1:
38 goes into 7 0 times with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Include the next digit (9) from the dividend after 7, then repeat: 79 / 38

Going ahead to step 2:
38 goes into 79 2 times with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
Deduct 76 from 79 and we're left with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 38

Advancing to step 3:
The number 38 fits into 31 0 times, leaving a remainder of 31.
Record the quotient 0 as the next digit in the result. 
Result so far: 20.0
If we subtract 0 from 31, we get 31.
Append the next digit (7) from the dividend to 31 and continue with: 317 / 38

Moving on to step 4:
317 divided by 38 is 8 with a remainder of 13.
Write down 8 as next digit of the result. 
Result so far: 208.0
Subtract 304 from 317 to get 13.
Append the next digit (5) from the dividend to 13 and continue with: 135 / 38

Going ahead to step 5:
The number 38 fits into 135 3 times, leaving a remainder of 21.
Use 3 as the next digit of our solution. 
Result so far: 2083.0
Subtracting 114 from 135 leaves us with 21.
Take the next digit (4) from the dividend and append it to 21, then repeat: 214 / 38

Moving on to step 6:
38 goes into 214 5 times with a remainder of 24.
Use 5 as the next digit of our solution. 
Result so far: 20835.0
If we subtract 190 from 214, we get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 7:
240 divided by 38 is 6 with a remainder of 12.
The next digit of our result is 6. 
Result so far: 20835.6
If we subtract 228 from 240, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
When dividing 120 by 38, we get 3 with a remainder of 6.
Use 3 as the next digit of our solution. 
Result so far: 20835.63
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 9:
When dividing 60 by 38, we get 1 with a remainder of 22.
The next digit of our result is 1. 
Result so far: 20835.631
Deduct 38 from 60 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

On to step 10:
220 divided by 38 is 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 20835.6315
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.

Let's proceed to step 11:
If we divide 300 by 38, we get 7 and a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 20835.63157
Subtracting 266 from 300 leaves us with 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 12:
If we divide 340 by 38, we get 8 and a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 20835.631578
If we subtract 304 from 340, we get 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

On to step 13:
The number 38 fits into 360 9 times, leaving a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 20835.6315789
The remainder is 18 after subtracting 342 from 360.
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 14:
When dividing 180 by 38, we get 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 20835.63157894
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.

The final outcome is 20835.63157894, with a leftover of 2.8e-08.