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

Moving on to step 1:
86 goes into 5 0 times with a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 86

Moving on to step 2:
86 goes into 50 0 times with a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Grab the next digit (7) from the dividend, add it to 50, then carry on: 507 / 86

Step 3:
507 divided by 86 is 5 with a remainder of 77.
Use 5 as the next digit of our solution. 
Result so far: 5.0
If we take 430 away from 507, we end up with 77.
Bring next digit (9) of the dividend behind the 77 and repeat the process: 779 / 86

Step 4:
The number 86 fits into 779 9 times, leaving a remainder of 5.
The next digit of our result is 9. 
Result so far: 59.0
Subtracting 774 from 779 leaves us with 5.
Grab the next digit (8) from the dividend, add it to 5, then carry on: 58 / 86

Moving on to step 5:
When dividing 58 by 86, we get 0 with a remainder of 58.
Use 0 as the next digit of our solution. 
Result so far: 590.0
If we take 0 away from 58, we end up with 58.
Fetch the next digit (6) from the dividend, attach it to 58 and continue: 586 / 86

On to step 6:
When dividing 586 by 86, we get 6 with a remainder of 70.
The number 6 becomes the next digit in our result. 
Result so far: 5906.0
Subtract 516 from 586 to get 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

Moving on to step 7:
86 can be fit into 700 8 times, resulting in a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 5906.8
The remainder is 12 after subtracting 688 from 700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 8:
The number 86 fits into 120 1 times, leaving a remainder of 34.
Put 1 as the next digit of the answer. 
Result so far: 5906.81
Subtract 86 from 120 to get 34.
Since there are no more digits in the dividend, we add a zero to the remainder making it 340, and continue the process.

Going ahead to step 9:
86 goes into 340 3 times with a remainder of 82.
Record the quotient 3 as the next digit in the result. 
Result so far: 5906.813
The remainder is 82 after subtracting 258 from 340.
Since there are no more digits in the dividend, we add a zero to the remainder making it 820, and continue the process.

Let's proceed to step 10:
The number 86 fits into 820 9 times, leaving a remainder of 46.
Write down 9 as next digit of the result. 
Result so far: 5906.8139
If we take 774 away from 820, we end up 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.

Going ahead to step 11:
460 divided by 86 is 5 with a remainder of 30.
The number 5 becomes the next digit in our result. 
Result so far: 5906.81395
Deduct 430 from 460 and we're left with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Advancing to step 12:
86 can be fit into 300 3 times, resulting in a remainder of 42.
The number 3 becomes the next digit in our result. 
Result so far: 5906.813953
If we subtract 258 from 300, we 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.

On to step 13:
If we divide 420 by 86, we get 4 and a remainder of 76.
The next digit of our result is 4. 
Result so far: 5906.8139534
The remainder is 76 after subtracting 344 from 420.
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 14:
760 divided by 86 is 8 with a remainder of 72.
Record the quotient 8 as the next digit in the result. 
Result so far: 5906.81395348
If we subtract 688 from 760, 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 5906.81395348 with a remainder of 7.2e-08.