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

Step 1:
38 can be fit into 4 0 times, resulting in a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 38

Going ahead to step 2:
When dividing 47 by 38, we get 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 38 away from 47, we end up with 9.
Include the next digit (8) from the dividend after 9, then repeat: 98 / 38

Advancing to step 3:
When dividing 98 by 38, we get 2 with a remainder of 22.
Use 2 as the next digit of our solution. 
Result so far: 12.0
The remainder is 22 after subtracting 76 from 98.
Include the next digit (3) from the dividend after 22, then repeat: 223 / 38

Step 4:
The number 38 fits into 223 5 times, leaving a remainder of 33.
Use 5 as the next digit of our solution. 
Result so far: 125.0
The remainder is 33 after subtracting 190 from 223.
Take the next digit (6) from the dividend and append it to 33, then repeat: 336 / 38

Advancing to step 5:
38 goes into 336 8 times with a remainder of 32.
Record the quotient 8 as the next digit in the result. 
Result so far: 1258.0
If we take 304 away from 336, we end up with 32.
Bring next digit (2) of the dividend behind the 32 and repeat the process: 322 / 38

Going ahead to step 6:
When dividing 322 by 38, we get 8 with a remainder of 18.
Use 8 as the next digit of our solution. 
Result so far: 12588.0
The remainder is 18 after subtracting 304 from 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
38 can be fit into 180 4 times, resulting in a remainder of 28.
Put 4 as the next digit of the answer. 
Result so far: 12588.4
If we take 152 away from 180, we end up with 28.
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 8:
If we divide 280 by 38, we get 7 and a remainder of 14.
The next digit of our result is 7. 
Result so far: 12588.47
The remainder is 14 after subtracting 266 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Moving on to step 9:
When dividing 140 by 38, we get 3 with a remainder of 26.
Use 3 as the next digit of our solution. 
Result so far: 12588.473
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.

Going ahead to step 10:
38 goes into 260 6 times with a remainder of 32.
The next digit of our result is 6. 
Result so far: 12588.4736
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.

Advancing to step 11:
The number 38 fits into 320 8 times, leaving a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 12588.47368
If we take 304 away from 320, we end up 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.

On to step 12:
When dividing 160 by 38, we get 4 with a remainder of 8.
Record the quotient 4 as the next digit in the result. 
Result so far: 12588.473684
The remainder is 8 after subtracting 152 from 160.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 13:
When dividing 80 by 38, we get 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 12588.4736842
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.

Advancing to step 14:
The number 38 fits into 40 1 times, leaving a remainder of 2.
The next digit of our result is 1. 
Result so far: 12588.47368421
Deduct 38 from 40 and we're left with 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 12588.47368421 with a remaining 2e-09.