478726 divided by 38 
The aim is to understand the frequency of 38 in 478726.

Going ahead to step 1:
4 divided by 38 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 38

Advancing to step 2:
38 goes into 47 1 times with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 38 from 47 and we're left with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 38

Moving on to step 3:
If we divide 98 by 38, we get 2 and a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 12.0
If we subtract 76 from 98, we get 22.
Include the next digit (7) from the dividend after 22, then repeat: 227 / 38

Going ahead to step 4:
When dividing 227 by 38, we get 5 with a remainder of 37.
Record the quotient 5 as the next digit in the result. 
Result so far: 125.0
Deduct 190 from 227 and we're left with 37.
Fetch the next digit (2) from the dividend, attach it to 37 and continue: 372 / 38

On to step 5:
The number 38 fits into 372 9 times, leaving a remainder of 30.
Use 9 as the next digit of our solution. 
Result so far: 1259.0
Subtract 342 from 372 to get 30.
Grab the next digit (6) from the dividend, add it to 30, then carry on: 306 / 38

Moving on to step 6:
306 divided by 38 is 8 with a remainder of 2.
The number 8 becomes the next digit in our result. 
Result so far: 12598.0
Subtract 304 from 306 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.

Advancing to step 7:
38 goes into 20 0 times with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 12598.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Write down 5 as next digit of the result. 
Result so far: 12598.05
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.

Let's proceed to step 9:
100 divided by 38 is 2 with a remainder of 24.
Record the quotient 2 as the next digit in the result. 
Result so far: 12598.052
Subtract 76 from 100 to get 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Let's proceed to step 10:
The number 38 fits into 240 6 times, leaving a remainder of 12.
Record the quotient 6 as the next digit in the result. 
Result so far: 12598.0526
Subtract 228 from 240 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.

Moving on to step 11:
38 can be fit into 120 3 times, resulting in a remainder of 6.
The next digit of our result is 3. 
Result so far: 12598.05263
Subtracting 114 from 120 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 12:
The number 38 fits into 60 1 times, leaving a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 12598.052631
If we subtract 38 from 60, we get 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 13:
38 can be fit into 220 5 times, resulting in a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 12598.0526315
Subtracting 190 from 220 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

On to step 14:
When dividing 300 by 38, we get 7 with a remainder of 34.
Write down 7 as next digit of the result. 
Result so far: 12598.05263157
Subtract 266 from 300 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Our division results in 12598.05263157 with a remaining 3.4e-08.