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

Let's proceed to step 1:
If we divide 2 by 38, we get 0 and a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Bring next digit (4) of the dividend behind the 2 and repeat the process: 24 / 38

Moving on to step 2:
When dividing 24 by 38, we get 0 with a remainder of 24.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 24 to get 24.
Bring next digit (7) of the dividend behind the 24 and repeat the process: 247 / 38

Going ahead to step 3:
38 goes into 247 6 times with a remainder of 19.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
If we subtract 228 from 247, we get 19.
Include the next digit (9) from the dividend after 19, then repeat: 199 / 38

On to step 4:
38 goes into 199 5 times with a remainder of 9.
Use 5 as the next digit of our solution. 
Result so far: 65.0
If we subtract 190 from 199, we get 9.
Append the next digit (1) from the dividend to 9 and continue with: 91 / 38

Step 5:
91 divided by 38 is 2 with a remainder of 15.
Put 2 as the next digit of the answer. 
Result so far: 652.0
Deduct 76 from 91 and we're left with 15.
Bring next digit (8) of the dividend behind the 15 and repeat the process: 158 / 38

Going ahead to step 6:
38 can be fit into 158 4 times, resulting in a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 6524.0
Subtracting 152 from 158 leaves us 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:
38 can be fit into 60 1 times, resulting in a remainder of 22.
The number 1 becomes the next digit in our result. 
Result so far: 6524.1
If we subtract 38 from 60, we 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.

On to step 8:
38 can be fit into 220 5 times, resulting in a remainder of 30.
Put 5 as the next digit of the answer. 
Result so far: 6524.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.

Step 9:
38 can be fit into 300 7 times, resulting in a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 6524.157
If we subtract 266 from 300, we 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.

Advancing to step 10:
38 can be fit into 340 8 times, resulting in a remainder of 36.
Write down 8 as next digit of the result. 
Result so far: 6524.1578
If we take 304 away from 340, we end up with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Step 11:
38 goes into 360 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 6524.15789
Subtracting 342 from 360 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 12:
180 divided by 38 is 4 with a remainder of 28.
The number 4 becomes the next digit in our result. 
Result so far: 6524.157894
The remainder is 28 after subtracting 152 from 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 13:
If we divide 280 by 38, we get 7 and a remainder of 14.
The next digit of our result is 7. 
Result so far: 6524.1578947
Subtract 266 from 280 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 14:
If we divide 140 by 38, we get 3 and a remainder of 26.
Write down 3 as next digit of the result. 
Result so far: 6524.15789473
The remainder is 26 after subtracting 114 from 140.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

After the division, we end up with 6524.15789473 and a remainder of 2.6e-08.