3987 ÷ 23 
The aim is to understand the frequency of 23 in 3987.

Let's proceed to step 1:
When dividing 3 by 23, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (9) from the dividend, add it to 3, then carry on: 39 / 23

On to step 2:
23 goes into 39 1 times with a remainder of 16.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Deduct 23 from 39 and we're left with 16.
Fetch the next digit (8) from the dividend, attach it to 16 and continue: 168 / 23

Moving on to step 3:
23 can be fit into 168 7 times, resulting in a remainder of 7.
Use 7 as the next digit of our solution. 
Result so far: 17.0
Deduct 161 from 168 and we're left with 7.
Bring next digit (7) of the dividend behind the 7 and repeat the process: 77 / 23

Moving on to step 4:
The number 23 fits into 77 3 times, leaving a remainder of 8.
Put 3 as the next digit of the answer. 
Result so far: 173.0
Subtract 69 from 77 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.

Going ahead to step 5:
80 divided by 23 is 3 with a remainder of 11.
Use 3 as the next digit of our solution. 
Result so far: 173.3
If we take 69 away from 80, we end up with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 6:
23 can be fit into 110 4 times, resulting in a remainder of 18.
Write down 4 as next digit of the result. 
Result so far: 173.34
If we subtract 92 from 110, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

On to step 7:
If we divide 180 by 23, we get 7 and a remainder of 19.
Record the quotient 7 as the next digit in the result. 
Result so far: 173.347
Subtracting 161 from 180 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

On to step 8:
When dividing 190 by 23, we get 8 with a remainder of 6.
The next digit of our result is 8. 
Result so far: 173.3478
If we take 184 away from 190, we end up with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Let's proceed to step 9:
23 goes into 60 2 times with a remainder of 14.
Use 2 as the next digit of our solution. 
Result so far: 173.34782
If we take 46 away from 60, we end up 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.

Advancing to step 10:
23 goes into 140 6 times with a remainder of 2.
Put 6 as the next digit of the answer. 
Result so far: 173.347826
Deduct 138 from 140 and we're left 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 11:
23 goes into 20 0 times with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 173.347826
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.

Step 12:
200 divided by 23 is 8 with a remainder of 16.
Record the quotient 8 as the next digit in the result. 
Result so far: 173.34782608
The remainder is 16 after subtracting 184 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

The final outcome is 173.34782608, with a leftover of 1.6e-08.