We look at the division of 816368 by 38 
The aim is to understand the frequency of 38 in 816368.

Advancing to step 1:
If we divide 8 by 38, we get 0 and a remainder of 8.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 8 and we're left with 8.
Fetch the next digit (1) from the dividend, attach it to 8 and continue: 81 / 38

On to step 2:
38 can be fit into 81 2 times, resulting in a remainder of 5.
The next digit of our result is 2. 
Result so far: 2.0
Deduct 76 from 81 and we're left with 5.
Grab the next digit (6) from the dividend, add it to 5, then carry on: 56 / 38

On to step 3:
When dividing 56 by 38, we get 1 with a remainder of 18.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
If we subtract 38 from 56, we get 18.
Take the next digit (3) from the dividend and append it to 18, then repeat: 183 / 38

On to step 4:
If we divide 183 by 38, we get 4 and a remainder of 31.
Record the quotient 4 as the next digit in the result. 
Result so far: 214.0
If we take 152 away from 183, we end up with 31.
Fetch the next digit (6) from the dividend, attach it to 31 and continue: 316 / 38

Let's proceed to step 5:
The number 38 fits into 316 8 times, leaving a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 2148.0
Subtract 304 from 316 to get 12.
Grab the next digit (8) from the dividend, add it to 12, then carry on: 128 / 38

Let's proceed to step 6:
128 divided by 38 is 3 with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 21483.0
Deduct 114 from 128 and we're left with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 7:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Record the quotient 3 as the next digit in the result. 
Result so far: 21483.3
If we take 114 away from 140, we end up 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.

Step 8:
38 goes into 260 6 times with a remainder of 32.
Put 6 as the next digit of the answer. 
Result so far: 21483.36
The remainder is 32 after subtracting 228 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Moving on to step 9:
320 divided by 38 is 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 21483.368
Deduct 304 from 320 and we're left 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.

Advancing to step 10:
38 can be fit into 160 4 times, resulting in a remainder of 8.
Put 4 as the next digit of the answer. 
Result so far: 21483.3684
If we subtract 152 from 160, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 11:
If we divide 80 by 38, we get 2 and a remainder of 4.
Record the quotient 2 as the next digit in the result. 
Result so far: 21483.36842
Subtract 76 from 80 to get 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 12:
38 can be fit into 40 1 times, resulting in a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 21483.368421
If we take 38 away from 40, we end up 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.

Advancing to step 13:
38 goes into 20 0 times with a remainder of 20.
Write down 0 as next digit of the result. 
Result so far: 21483.368421
Deduct 0 from 20 and we're left with 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 14:
When dividing 200 by 38, we get 5 with a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 21483.36842105
If we take 190 away from 200, we end up 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.

The final outcome is 21483.36842105, with a leftover of 1e-08.