We divide 56857 by 38
The aim is to understand the frequency of 38 in 56857.

Step 1:
5 divided by 38 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (6) from the dividend and append it to 5, then repeat: 56 / 38

On to step 2:
If we divide 56 by 38, we get 1 and a remainder of 18.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 38 from 56 leaves us with 18.
Take the next digit (8) from the dividend and append it to 18, then repeat: 188 / 38

Step 3:
38 goes into 188 4 times with a remainder of 36.
Use 4 as the next digit of our solution. 
Result so far: 14.0
If we subtract 152 from 188, we get 36.
Include the next digit (5) from the dividend after 36, then repeat: 365 / 38

Going ahead to step 4:
When dividing 365 by 38, we get 9 with a remainder of 23.
Record the quotient 9 as the next digit in the result. 
Result so far: 149.0
Deduct 342 from 365 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 number 6 becomes the next digit in our result. 
Result so far: 1496.0
Subtract 228 from 237 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

On to step 6:
The number 38 fits into 90 2 times, leaving a remainder of 14.
Write down 2 as next digit of the result. 
Result so far: 1496.2
Deduct 76 from 90 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:
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: 1496.23
Subtracting 114 from 140 leaves us 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.

On to step 8:
If we divide 260 by 38, we get 6 and a remainder of 32.
Use 6 as the next digit of our solution. 
Result so far: 1496.236
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.

Step 9:
The number 38 fits into 320 8 times, leaving a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 1496.2368
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.

Let's proceed to step 10:
When dividing 160 by 38, we get 4 with a remainder of 8.
Write down 4 as next digit of the result. 
Result so far: 1496.23684
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.

Step 11:
80 divided by 38 is 2 with a remainder of 4.
Use 2 as the next digit of our solution. 
Result so far: 1496.236842
If we take 76 away from 80, we end up 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: 1496.2368421
Subtracting 38 from 40 leaves us 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.

Let's proceed to step 13:
When dividing 20 by 38, we get 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 1496.2368421
If we subtract 0 from 20, we 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.

The final outcome is 1496.2368421, with a leftover of 2e-08.