We're dividing 508987 by 86 
The aim is to understand the frequency of 86 in 508987.

On to step 1:
86 can be fit into 5 0 times, resulting in a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 86

Going ahead to step 2:
The number 86 fits into 50 0 times, leaving a remainder of 50.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Append the next digit (8) from the dividend to 50 and continue with: 508 / 86

Let's proceed to step 3:
When dividing 508 by 86, we get 5 with a remainder of 78.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 430 from 508 to get 78.
Append the next digit (9) from the dividend to 78 and continue with: 789 / 86

Going ahead to step 4:
The number 86 fits into 789 9 times, leaving a remainder of 15.
The number 9 becomes the next digit in our result. 
Result so far: 59.0
Subtracting 774 from 789 leaves us with 15.
Include the next digit (8) from the dividend after 15, then repeat: 158 / 86

Advancing to step 5:
158 divided by 86 is 1 with a remainder of 72.
The number 1 becomes the next digit in our result. 
Result so far: 591.0
Subtracting 86 from 158 leaves us with 72.
Grab the next digit (7) from the dividend, add it to 72, then carry on: 727 / 86

Moving on to step 6:
If we divide 727 by 86, we get 8 and a remainder of 39.
The next digit of our result is 8. 
Result so far: 5918.0
Subtract 688 from 727 to get 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Going ahead to step 7:
86 can be fit into 390 4 times, resulting in a remainder of 46.
The next digit of our result is 4. 
Result so far: 5918.4
Deduct 344 from 390 and we're left with 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Let's proceed to step 8:
86 goes into 460 5 times with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 5918.45
Subtract 430 from 460 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 9:
86 goes into 300 3 times with a remainder of 42.
Write down 3 as next digit of the result. 
Result so far: 5918.453
Subtract 258 from 300 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

Step 10:
If we divide 420 by 86, we get 4 and a remainder of 76.
The number 4 becomes the next digit in our result. 
Result so far: 5918.4534
Subtracting 344 from 420 leaves us with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Advancing to step 11:
86 can be fit into 760 8 times, resulting in a remainder of 72.
Use 8 as the next digit of our solution. 
Result so far: 5918.45348
The remainder is 72 after subtracting 688 from 760.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Step 12:
The number 86 fits into 720 8 times, leaving a remainder of 32.
The number 8 becomes the next digit in our result. 
Result so far: 5918.453488
If we subtract 688 from 720, 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.

The final outcome is 5918.453488, with a leftover of 3.2e-06.