864047 ÷ 38 
The aim is to understand the frequency of 38 in 864047.

On to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Take the next digit (6) from the dividend and append it to 8, then repeat: 86 / 38

Moving on to step 2:
When dividing 86 by 38, we get 2 with a remainder of 10.
Use 2 as the next digit of our solution. 
Result so far: 2.0
If we take 76 away from 86, we end up with 10.
Append the next digit (4) from the dividend to 10 and continue with: 104 / 38

Step 3:
The number 38 fits into 104 2 times, leaving a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 22.0
The remainder is 28 after subtracting 76 from 104.
Take the next digit (0) from the dividend and append it to 28, then repeat: 280 / 38

On to step 4:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Put 7 as the next digit of the answer. 
Result so far: 227.0
If we take 266 away from 280, we end up with 14.
Grab the next digit (4) from the dividend, add it to 14, then carry on: 144 / 38

Going ahead to step 5:
38 goes into 144 3 times with a remainder of 30.
Use 3 as the next digit of our solution. 
Result so far: 2273.0
Subtract 114 from 144 to get 30.
Grab the next digit (7) from the dividend, add it to 30, then carry on: 307 / 38

Advancing to step 6:
If we divide 307 by 38, we get 8 and a remainder of 3.
Record the quotient 8 as the next digit in the result. 
Result so far: 22738.0
If we take 304 away from 307, we end up with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Advancing to step 7:
The number 38 fits into 30 0 times, leaving a remainder of 30.
Write down 0 as next digit of the result. 
Result so far: 22738.0
Subtract 0 from 30 to get 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 8:
If we divide 300 by 38, we get 7 and a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 22738.07
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 9:
38 can be fit into 340 8 times, resulting in a remainder of 36.
The next digit of our result is 8. 
Result so far: 22738.078
Subtract 304 from 340 to 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.

Let's proceed to step 10:
38 goes into 360 9 times with a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 22738.0789
If we take 342 away from 360, we end up 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.

Moving on to step 11:
When dividing 180 by 38, we get 4 with a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 22738.07894
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.

Moving on to step 12:
280 divided by 38 is 7 with a remainder of 14.
Write down 7 as next digit of the result. 
Result so far: 22738.078947
Deduct 266 from 280 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Going ahead to step 13:
The number 38 fits into 140 3 times, leaving a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 22738.0789473
If we subtract 114 from 140, we 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.

Moving on to step 14:
The number 38 fits into 260 6 times, leaving a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 22738.07894736
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.

Our division results in 22738.07894736 with a remaining 3.2e-08.