Let's divide 815574 by 38
The aim is to understand the frequency of 38 in 815574.

On to step 1:
When dividing 8 by 38, we get 0 with a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Take the next digit (1) from the dividend and append it to 8, then repeat: 81 / 38

Step 2:
When dividing 81 by 38, we get 2 with a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 76 from 81 to get 5.
Include the next digit (5) from the dividend after 5, then repeat: 55 / 38

Let's proceed to step 3:
55 divided by 38 is 1 with a remainder of 17.
Write down 1 as next digit of the result. 
Result so far: 21.0
If we take 38 away from 55, we end up with 17.
Take the next digit (5) from the dividend and append it to 17, then repeat: 175 / 38

Moving on to step 4:
38 goes into 175 4 times with a remainder of 23.
Write down 4 as next digit of the result. 
Result so far: 214.0
Deduct 152 from 175 and we're left with 23.
Include the next digit (7) from the dividend after 23, then repeat: 237 / 38

Advancing to step 5:
When dividing 237 by 38, we get 6 with a remainder of 9.
The next digit of our result is 6. 
Result so far: 2146.0
The remainder is 9 after subtracting 228 from 237.
Include the next digit (4) from the dividend after 9, then repeat: 94 / 38

Let's proceed to step 6:
The number 38 fits into 94 2 times, leaving a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 21462.0
Subtracting 76 from 94 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Step 7:
The number 38 fits into 180 4 times, leaving a remainder of 28.
The next digit of our result is 4. 
Result so far: 21462.4
If we subtract 152 from 180, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 8:
The number 38 fits into 280 7 times, leaving a remainder of 14.
Record the quotient 7 as the next digit in the result. 
Result so far: 21462.47
Deduct 266 from 280 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.

Step 9:
38 can be fit into 140 3 times, resulting in a remainder of 26.
Put 3 as the next digit of the answer. 
Result so far: 21462.473
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.

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

Let's proceed to step 11:
When dividing 320 by 38, we get 8 with a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 21462.47368
If we subtract 304 from 320, we 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 12:
160 divided by 38 is 4 with a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 21462.473684
Subtract 152 from 160 to 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.

Moving on to step 13:
38 can be fit into 80 2 times, resulting in a remainder of 4.
The number 2 becomes the next digit in our result. 
Result so far: 21462.4736842
Subtracting 76 from 80 leaves us 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.

Step 14:
If we divide 40 by 38, we get 1 and a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 21462.47368421
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.

The final result is 21462.47368421 with a remainder of 2e-09.