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

Going ahead to step 1:
38 can be fit into 9 0 times, resulting in a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Append the next digit (4) from the dividend to 9 and continue with: 94 / 38

Going ahead to step 2:
When dividing 94 by 38, we get 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
The remainder is 18 after subtracting 76 from 94.
Append the next digit (7) from the dividend to 18 and continue with: 187 / 38

Step 3:
187 divided by 38 is 4 with a remainder of 35.
The number 4 becomes the next digit in our result. 
Result so far: 24.0
If we subtract 152 from 187, we get 35.
Include the next digit (9) from the dividend after 35, then repeat: 359 / 38

Advancing to step 4:
38 goes into 359 9 times with a remainder of 17.
Put 9 as the next digit of the answer. 
Result so far: 249.0
If we subtract 342 from 359, we get 17.
Bring next digit (9) of the dividend behind the 17 and repeat the process: 179 / 38

Let's proceed to step 5:
If we divide 179 by 38, we get 4 and a remainder of 27.
The number 4 becomes the next digit in our result. 
Result so far: 2494.0
If we subtract 152 from 179, we get 27.
Append the next digit (0) from the dividend to 27 and continue with: 270 / 38

Moving on to step 6:
The number 38 fits into 270 7 times, leaving a remainder of 4.
Record the quotient 7 as the next digit in the result. 
Result so far: 24947.0
If we subtract 266 from 270, we 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.

Step 7:
If we divide 40 by 38, we get 1 and a remainder of 2.
The next digit of our result is 1. 
Result so far: 24947.1
Subtract 38 from 40 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 8:
20 divided by 38 is 0 with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 24947.1
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 9:
If we divide 200 by 38, we get 5 and a remainder of 10.
Record the quotient 5 as the next digit in the result. 
Result so far: 24947.105
The remainder is 10 after subtracting 190 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 10:
38 goes into 100 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 24947.1052
Subtract 76 from 100 to 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 11:
240 divided by 38 is 6 with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 24947.10526
The remainder is 12 after subtracting 228 from 240.
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 12:
When dividing 120 by 38, we get 3 with a remainder of 6.
Put 3 as the next digit of the answer. 
Result so far: 24947.105263
If we subtract 114 from 120, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Moving on to step 13:
38 goes into 60 1 times with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 24947.1052631
If we take 38 away from 60, we end up 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.

Advancing to step 14:
If we divide 220 by 38, we get 5 and a remainder of 30.
Write down 5 as next digit of the result. 
Result so far: 24947.10526315
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.

Our division results in 24947.10526315 with a remaining 3e-08.