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

Advancing to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Include the next digit (7) from the dividend after 8, then repeat: 87 / 38

Going ahead to step 2:
87 divided by 38 is 2 with a remainder of 11.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 76 from 87, we get 11.
Fetch the next digit (4) from the dividend, attach it to 11 and continue: 114 / 38

Advancing to step 3:
114 divided by 38 is 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 23.0
The remainder is 0 after subtracting 114 from 114.
Grab the next digit (4) from the dividend, add it to 0, then carry on: 4 / 38

Moving on to step 4:
4 divided by 38 is 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 230.0
If we take 0 away from 4, we end up with 4.
Bring next digit (1) of the dividend behind the 4 and repeat the process: 41 / 38

On to step 5:
38 goes into 41 1 times with a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 2301.0
Deduct 38 from 41 and we're left with 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 38

On to step 6:
When dividing 37 by 38, we get 0 with a remainder of 37.
Use 0 as the next digit of our solution. 
Result so far: 23010.0
The remainder is 37 after subtracting 0 from 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
370 divided by 38 is 9 with a remainder of 28.
The next digit of our result is 9. 
Result so far: 23010.9
The remainder is 28 after subtracting 342 from 370.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 8:
If we divide 280 by 38, we get 7 and a remainder of 14.
Use 7 as the next digit of our solution. 
Result so far: 23010.97
If we subtract 266 from 280, we 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.

Going ahead to step 9:
140 divided by 38 is 3 with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 23010.973
If we take 114 away from 140, 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.

Step 10:
260 divided by 38 is 6 with a remainder of 32.
The number 6 becomes the next digit in our result. 
Result so far: 23010.9736
If we subtract 228 from 260, we 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 11:
When dividing 320 by 38, we get 8 with a remainder of 16.
Write down 8 as next digit of the result. 
Result so far: 23010.97368
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.

On to step 12:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 23010.973684
Deduct 152 from 160 and we're left with 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 13:
38 can be fit into 80 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 23010.9736842
If we take 76 away from 80, we end up with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 14:
38 can be fit into 40 1 times, resulting in a remainder of 2.
The number 1 becomes the next digit in our result. 
Result so far: 23010.97368421
Subtract 38 from 40 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Our division results in 23010.97368421 with a remaining 2e-09.