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

Step 1:
38 can be fit into 6 0 times, resulting in a remainder of 6.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (4) of the dividend behind the 6 and repeat the process: 64 / 38

Step 2:
When dividing 64 by 38, we get 1 with a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 38 away from 64, we end up with 26.
Fetch the next digit (7) from the dividend, attach it to 26 and continue: 267 / 38

On to step 3:
The number 38 fits into 267 7 times, leaving a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 17.0
Subtract 266 from 267 to get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 38

Step 4:
If we divide 14 by 38, we get 0 and a remainder of 14.
Put 0 as the next digit of the answer. 
Result so far: 170.0
Subtract 0 from 14 to get 14.
Fetch the next digit (5) from the dividend, attach it to 14 and continue: 145 / 38

Going ahead to step 5:
If we divide 145 by 38, we get 3 and a remainder of 31.
The number 3 becomes the next digit in our result. 
Result so far: 1703.0
If we take 114 away from 145, we end up with 31.
Bring next digit (8) of the dividend behind the 31 and repeat the process: 318 / 38

Step 6:
318 divided by 38 is 8 with a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 17038.0
The remainder is 14 after subtracting 304 from 318.
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 7:
When dividing 140 by 38, we get 3 with a remainder of 26.
The number 3 becomes the next digit in our result. 
Result so far: 17038.3
Subtract 114 from 140 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 8:
When dividing 260 by 38, we get 6 with a remainder of 32.
Record the quotient 6 as the next digit in the result. 
Result so far: 17038.36
Deduct 228 from 260 and we're left 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.

On to step 9:
When dividing 320 by 38, we get 8 with a remainder of 16.
The number 8 becomes the next digit in our result. 
Result so far: 17038.368
Subtract 304 from 320 to 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.

Going ahead to step 10:
When dividing 160 by 38, we get 4 with a remainder of 8.
The next digit of our result is 4. 
Result so far: 17038.3684
If we take 152 away from 160, we end up 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.

Advancing to step 11:
80 divided by 38 is 2 with a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 17038.36842
Deduct 76 from 80 and we're left 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.

On to step 12:
38 goes into 40 1 times with a remainder of 2.
The next digit of our result is 1. 
Result so far: 17038.368421
If we subtract 38 from 40, we 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.

Moving on to step 13:
The number 38 fits into 20 0 times, leaving a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 17038.368421
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 14:
200 divided by 38 is 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 17038.36842105
Subtract 190 from 200 to get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final result is 17038.36842105 with a remainder of 1e-08.