Let's divide 10248 by 38
The aim is to understand the frequency of 38 in 10248.

Going ahead to step 1:
The number 38 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (0) from the dividend after 1, then repeat: 10 / 38

Let's proceed to step 2:
The number 38 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 10 and we're left with 10.
Take the next digit (2) from the dividend and append it to 10, then repeat: 102 / 38

Moving on to step 3:
38 goes into 102 2 times with a remainder of 26.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 76 from 102 and we're left with 26.
Append the next digit (4) from the dividend to 26 and continue with: 264 / 38

Going ahead to step 4:
The number 38 fits into 264 6 times, leaving a remainder of 36.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
Deduct 228 from 264 and we're left with 36.
Bring next digit (8) of the dividend behind the 36 and repeat the process: 368 / 38

Step 5:
38 goes into 368 9 times with a remainder of 26.
The next digit of our result is 9. 
Result so far: 269.0
Subtract 342 from 368 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Step 6:
When dividing 260 by 38, we get 6 with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 269.6
If we take 228 away from 260, we end up with 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Going ahead to step 7:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 269.68
Subtract 304 from 320 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.

Let's proceed to step 8:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 269.684
Subtract 152 from 160 to 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.

Let's proceed to step 9:
The number 38 fits into 80 2 times, leaving a remainder of 4.
The next digit of our result is 2. 
Result so far: 269.6842
Subtract 76 from 80 to 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.

Let's proceed to step 10:
38 goes into 40 1 times with a remainder of 2.
Write down 1 as next digit of the result. 
Result so far: 269.68421
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 11:
38 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 269.68421
Deduct 0 from 20 and we're left with 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 12:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 269.6842105
Subtracting 190 from 200 leaves us 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.

Advancing to step 13:
38 can be fit into 100 2 times, resulting in a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 269.68421052
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.

Our division results in 269.68421052 with a remaining 2.4e-08.