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

Going ahead to step 1:
8 divided by 38 is 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Append the next digit (0) from the dividend to 8 and continue with: 80 / 38

On to step 2:
If we divide 80 by 38, we get 2 and a remainder of 4.
The next digit of our result is 2. 
Result so far: 2.0
If we subtract 76 from 80, we get 4.
Append the next digit (7) from the dividend to 4 and continue with: 47 / 38

Advancing to step 3:
38 goes into 47 1 times with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtract 38 from 47 to get 9.
Include the next digit (3) from the dividend after 9, then repeat: 93 / 38

On to step 4:
When dividing 93 by 38, we get 2 with a remainder of 17.
The next digit of our result is 2. 
Result so far: 212.0
If we subtract 76 from 93, we get 17.
Bring next digit (1) of the dividend behind the 17 and repeat the process: 171 / 38

Going ahead to step 5:
38 can be fit into 171 4 times, resulting in a remainder of 19.
The next digit of our result is 4. 
Result so far: 2124.0
If we take 152 away from 171, we end up with 19.
Append the next digit (2) from the dividend to 19 and continue with: 192 / 38

Step 6:
192 divided by 38 is 5 with a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 21245.0
The remainder is 2 after subtracting 190 from 192.
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 7:
38 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 21245.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.

On to step 8:
If we divide 200 by 38, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 21245.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.

Step 9:
When dividing 100 by 38, we get 2 with a remainder of 24.
The number 2 becomes the next digit in our result. 
Result so far: 21245.052
If we take 76 away from 100, we end up with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Advancing to step 10:
38 goes into 240 6 times with a remainder of 12.
Put 6 as the next digit of the answer. 
Result so far: 21245.0526
If we take 228 away from 240, we end up with 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:
When dividing 120 by 38, we get 3 with a remainder of 6.
Record the quotient 3 as the next digit in the result. 
Result so far: 21245.05263
Subtract 114 from 120 to get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Going ahead to step 12:
The number 38 fits into 60 1 times, leaving a remainder of 22.
Record the quotient 1 as the next digit in the result. 
Result so far: 21245.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.

Going ahead to step 13:
When dividing 220 by 38, we get 5 with a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 21245.0526315
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.

On to step 14:
300 divided by 38 is 7 with a remainder of 34.
Record the quotient 7 as the next digit in the result. 
Result so far: 21245.05263157
Deduct 266 from 300 and we're left 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.

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