We look at the division of 387871 by 86 
The aim is to understand the frequency of 86 in 387871.

Moving on to step 1:
86 goes into 3 0 times with a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Grab the next digit (8) from the dividend, add it to 3, then carry on: 38 / 86

Moving on to step 2:
38 divided by 86 is 0 with a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 38 after subtracting 0 from 38.
Bring next digit (7) of the dividend behind the 38 and repeat the process: 387 / 86

Advancing to step 3:
387 divided by 86 is 4 with a remainder of 43.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 43 after subtracting 344 from 387.
Include the next digit (8) from the dividend after 43, then repeat: 438 / 86

Going ahead to step 4:
86 goes into 438 5 times with a remainder of 8.
Put 5 as the next digit of the answer. 
Result so far: 45.0
If we subtract 430 from 438, we get 8.
Grab the next digit (7) from the dividend, add it to 8, then carry on: 87 / 86

Moving on to step 5:
The number 86 fits into 87 1 times, leaving a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 451.0
The remainder is 1 after subtracting 86 from 87.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 86

Step 6:
The number 86 fits into 11 0 times, leaving a remainder of 11.
Write down 0 as next digit of the result. 
Result so far: 4510.0
If we take 0 away from 11, 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.

On to step 7:
86 can be fit into 110 1 times, resulting in a remainder of 24.
The next digit of our result is 1. 
Result so far: 4510.1
Deduct 86 from 110 and we're left with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Going ahead to step 8:
86 goes into 240 2 times with a remainder of 68.
Use 2 as the next digit of our solution. 
Result so far: 4510.12
The remainder is 68 after subtracting 172 from 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

Going ahead to step 9:
When dividing 680 by 86, we get 7 with a remainder of 78.
Record the quotient 7 as the next digit in the result. 
Result so far: 4510.127
If we subtract 602 from 680, we get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

On to step 10:
If we divide 780 by 86, we get 9 and a remainder of 6.
Use 9 as the next digit of our solution. 
Result so far: 4510.1279
Subtracting 774 from 780 leaves us 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.

Step 11:
When dividing 60 by 86, we get 0 with a remainder of 60.
The number 0 becomes the next digit in our result. 
Result so far: 4510.1279
Deduct 0 from 60 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Advancing to step 12:
The number 86 fits into 600 6 times, leaving a remainder of 84.
Write down 6 as next digit of the result. 
Result so far: 4510.127906
Subtract 516 from 600 to get 84.
Since there are no more digits in the dividend, we add a zero to the remainder making it 840, and continue the process.

On to step 13:
When dividing 840 by 86, we get 9 with a remainder of 66.
The number 9 becomes the next digit in our result. 
Result so far: 4510.1279069
Subtracting 774 from 840 leaves us with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

On to step 14:
When dividing 660 by 86, we get 7 with a remainder of 58.
Record the quotient 7 as the next digit in the result. 
Result so far: 4510.12790697
If we take 602 away from 660, we end up with 58.
Since there are no more digits in the dividend, we add a zero to the remainder making it 580, and continue the process.

The final result is 4510.12790697 with a remainder of 5.8e-08.