We're dividing 307872 by 38 
The aim is to understand the frequency of 38 in 307872.

Step 1:
When dividing 3 by 38, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 38

On to step 2:
30 divided by 38 is 0 with a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 30 leaves us with 30.
Fetch the next digit (7) from the dividend, attach it to 30 and continue: 307 / 38

Advancing to step 3:
The number 38 fits into 307 8 times, leaving a remainder of 3.
The number 8 becomes the next digit in our result. 
Result so far: 8.0
Subtract 304 from 307 to get 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 38

On to step 4:
38 divided by 38 is 1 with a remainder of 0.
Use 1 as the next digit of our solution. 
Result so far: 81.0
Deduct 38 from 38 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 38

Advancing to step 5:
7 divided by 38 is 0 with a remainder of 7.
Record the quotient 0 as the next digit in the result. 
Result so far: 810.0
The remainder is 7 after subtracting 0 from 7.
Grab the next digit (2) from the dividend, add it to 7, then carry on: 72 / 38

Moving on to step 6:
If we divide 72 by 38, we get 1 and a remainder of 34.
Write down 1 as next digit of the result. 
Result so far: 8101.0
The remainder is 34 after subtracting 38 from 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Step 7:
38 goes into 340 8 times with a remainder of 36.
The next digit of our result is 8. 
Result so far: 8101.8
Subtracting 304 from 340 leaves us 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.

Moving on to step 8:
If we divide 360 by 38, we get 9 and a remainder of 18.
The number 9 becomes the next digit in our result. 
Result so far: 8101.89
Deduct 342 from 360 and we're left 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 9:
If we divide 180 by 38, we get 4 and a remainder of 28.
Use 4 as the next digit of our solution. 
Result so far: 8101.894
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.

Let's proceed to step 10:
When dividing 280 by 38, we get 7 with a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 8101.8947
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.

Let's proceed to step 11:
If we divide 140 by 38, we get 3 and a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 8101.89473
Subtracting 114 from 140 leaves us 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.

Step 12:
If we divide 260 by 38, we get 6 and a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 8101.894736
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 13:
The number 38 fits into 320 8 times, leaving a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 8101.8947368
Subtracting 304 from 320 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Moving on to step 14:
If we divide 160 by 38, we get 4 and a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 8101.89473684
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.

The final outcome is 8101.89473684, with a leftover of 8e-09.