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

Moving on to step 1:
When dividing 4 by 38, we get 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 38

Going ahead to step 2:
The number 38 fits into 40 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 38 away from 40, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 38

On to step 3:
When dividing 27 by 38, we get 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtracting 0 from 27 leaves us with 27.
Append the next digit (8) from the dividend to 27 and continue with: 278 / 38

Step 4:
38 goes into 278 7 times with a remainder of 12.
Write down 7 as next digit of the result. 
Result so far: 107.0
Deduct 266 from 278 and we're left with 12.
Take the next digit (9) from the dividend and append it to 12, then repeat: 129 / 38

On to step 5:
129 divided by 38 is 3 with a remainder of 15.
Record the quotient 3 as the next digit in the result. 
Result so far: 1073.0
The remainder is 15 after subtracting 114 from 129.
Include the next digit (7) from the dividend after 15, then repeat: 157 / 38

Let's proceed to step 6:
When dividing 157 by 38, we get 4 with a remainder of 5.
Record the quotient 4 as the next digit in the result. 
Result so far: 10734.0
If we take 152 away from 157, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
If we divide 50 by 38, we get 1 and a remainder of 12.
The number 1 becomes the next digit in our result. 
Result so far: 10734.1
Subtract 38 from 50 to get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Going ahead to step 8:
The number 38 fits into 120 3 times, leaving a remainder of 6.
The number 3 becomes the next digit in our result. 
Result so far: 10734.13
The remainder is 6 after subtracting 114 from 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 9:
38 can be fit into 60 1 times, resulting in a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 10734.131
Subtracting 38 from 60 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 10:
When dividing 220 by 38, we get 5 with a remainder of 30.
The next digit of our result is 5. 
Result so far: 10734.1315
The remainder is 30 after subtracting 190 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 11:
When dividing 300 by 38, we get 7 with a remainder of 34.
The number 7 becomes the next digit in our result. 
Result so far: 10734.13157
If we take 266 away from 300, we end up 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.

Moving on to step 12:
If we divide 340 by 38, we get 8 and a remainder of 36.
Use 8 as the next digit of our solution. 
Result so far: 10734.131578
Deduct 304 from 340 and we're left 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.

Let's proceed to step 13:
If we divide 360 by 38, we get 9 and a remainder of 18.
The next digit of our result is 9. 
Result so far: 10734.1315789
Subtracting 342 from 360 leaves us 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.

Step 14:
If we divide 180 by 38, we get 4 and a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 10734.13157894
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.

After the division, we end up with 10734.13157894 and a remainder of 2.8e-08.