Let's divide 38745 by 87
The aim is to understand the frequency of 87 in 38745.

On to step 1:
If we divide 3 by 87, we get 0 and a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 87

Advancing to step 2:
87 goes into 38 0 times with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 38 and we're left with 38.
Take the next digit (7) from the dividend and append it to 38, then repeat: 387 / 87

Advancing to step 3:
If we divide 387 by 87, we get 4 and a remainder of 39.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtract 348 from 387 to get 39.
Include the next digit (4) from the dividend after 39, then repeat: 394 / 87

On to step 4:
394 divided by 87 is 4 with a remainder of 46.
Record the quotient 4 as the next digit in the result. 
Result so far: 44.0
Subtract 348 from 394 to get 46.
Append the next digit (5) from the dividend to 46 and continue with: 465 / 87

Advancing to step 5:
87 goes into 465 5 times with a remainder of 30.
Use 5 as the next digit of our solution. 
Result so far: 445.0
The remainder is 30 after subtracting 435 from 465.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 6:
87 can be fit into 300 3 times, resulting in a remainder of 39.
The number 3 becomes the next digit in our result. 
Result so far: 445.3
The remainder is 39 after subtracting 261 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

On to step 7:
390 divided by 87 is 4 with a remainder of 42.
The number 4 becomes the next digit in our result. 
Result so far: 445.34
Subtracting 348 from 390 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Going ahead to step 8:
87 can be fit into 420 4 times, resulting in a remainder of 72.
Use 4 as the next digit of our solution. 
Result so far: 445.344
If we subtract 348 from 420, we get 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

The final result is 445.344 with a remainder of 0.0072.