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

Moving on to step 1:
If we divide 5 by 38, we get 0 and a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (2) from the dividend after 5, then repeat: 52 / 38

Advancing to step 2:
52 divided by 38 is 1 with a remainder of 14.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 38 from 52, we get 14.
Grab the next digit (2) from the dividend, add it to 14, then carry on: 142 / 38

On to step 3:
38 goes into 142 3 times with a remainder of 28.
Write down 3 as next digit of the result. 
Result so far: 13.0
The remainder is 28 after subtracting 114 from 142.
Take the next digit (3) from the dividend and append it to 28, then repeat: 283 / 38

Going ahead to step 4:
When dividing 283 by 38, we get 7 with a remainder of 17.
The next digit of our result is 7. 
Result so far: 137.0
Deduct 266 from 283 and we're left with 17.
Include the next digit (4) from the dividend after 17, then repeat: 174 / 38

Let's proceed to step 5:
38 can be fit into 174 4 times, resulting in a remainder of 22.
The next digit of our result is 4. 
Result so far: 1374.0
Subtract 152 from 174 to get 22.
Include the next digit (3) from the dividend after 22, then repeat: 223 / 38

Advancing to step 6:
If we divide 223 by 38, we get 5 and a remainder of 33.
The next digit of our result is 5. 
Result so far: 13745.0
The remainder is 33 after subtracting 190 from 223.
Since there are no more digits in the dividend, we add a zero to the remainder making it 330, and continue the process.

Let's proceed to step 7:
When dividing 330 by 38, we get 8 with a remainder of 26.
Put 8 as the next digit of the answer. 
Result so far: 13745.8
The remainder is 26 after subtracting 304 from 330.
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 8:
260 divided by 38 is 6 with a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 13745.86
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.

Step 9:
38 can be fit into 320 8 times, resulting in a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 13745.868
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.

Let's proceed to step 10:
If we divide 160 by 38, we get 4 and a remainder of 8.
Use 4 as the next digit of our solution. 
Result so far: 13745.8684
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.

On to step 11:
If we divide 80 by 38, we get 2 and a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 13745.86842
If we subtract 76 from 80, we 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.

Going ahead to step 12:
When dividing 40 by 38, we get 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 13745.868421
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.

Step 13:
If we divide 20 by 38, we get 0 and a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 13745.868421
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:
The number 38 fits into 200 5 times, leaving a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 13745.86842105
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.

Our division results in 13745.86842105 with a remaining 1e-08.