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

Step 1:
38 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Grab the next digit (3) from the dividend, add it to 6, then carry on: 63 / 38

Going ahead to step 2:
38 can be fit into 63 1 times, resulting in a remainder of 25.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 25 after subtracting 38 from 63.
Take the next digit (1) from the dividend and append it to 25, then repeat: 251 / 38

On to step 3:
38 goes into 251 6 times with a remainder of 23.
The next digit of our result is 6. 
Result so far: 16.0
Deduct 228 from 251 and we're left with 23.
Append the next digit (0) from the dividend to 23 and continue with: 230 / 38

Advancing to step 4:
When dividing 230 by 38, we get 6 with a remainder of 2.
Use 6 as the next digit of our solution. 
Result so far: 166.0
Subtract 228 from 230 to get 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 38

Moving on to step 5:
21 divided by 38 is 0 with a remainder of 21.
The number 0 becomes the next digit in our result. 
Result so far: 1660.0
Deduct 0 from 21 and we're left with 21.
Append the next digit (6) from the dividend to 21 and continue with: 216 / 38

Step 6:
When dividing 216 by 38, we get 5 with a remainder of 26.
Use 5 as the next digit of our solution. 
Result so far: 16605.0
If we take 190 away from 216, we end up 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.

Advancing to step 7:
38 goes into 260 6 times with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 16605.6
Subtract 228 from 260 to get 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 8:
38 goes into 320 8 times with a remainder of 16.
The next digit of our result is 8. 
Result so far: 16605.68
If we subtract 304 from 320, we 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 9:
38 goes into 160 4 times with a remainder of 8.
The number 4 becomes the next digit in our result. 
Result so far: 16605.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.

Moving on to step 10:
38 goes into 80 2 times with a remainder of 4.
The next digit of our result is 2. 
Result so far: 16605.6842
The remainder is 4 after subtracting 76 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 11:
38 goes into 40 1 times with a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 16605.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.

Moving on to step 12:
38 goes into 20 0 times with a remainder of 20.
The next digit of our result is 0. 
Result so far: 16605.68421
Subtracting 0 from 20 leaves us 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.

Let's proceed to step 13:
38 can be fit into 200 5 times, resulting in a remainder of 10.
Use 5 as the next digit of our solution. 
Result so far: 16605.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.

Going ahead to step 14:
38 goes into 100 2 times with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 16605.68421052
Deduct 76 from 100 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

The final result is 16605.68421052 with a remainder of 2.4e-08.