We divide 508088 by 87
The aim is to understand the frequency of 87 in 508088.

Going ahead to step 1:
5 divided by 87 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 87

Going ahead to step 2:
87 can be fit into 50 0 times, resulting in a remainder of 50.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Bring next digit (8) of the dividend behind the 50 and repeat the process: 508 / 87

Advancing to step 3:
87 can be fit into 508 5 times, resulting in a remainder of 73.
Write down 5 as next digit of the result. 
Result so far: 5.0
If we subtract 435 from 508, we get 73.
Append the next digit (0) from the dividend to 73 and continue with: 730 / 87

Going ahead to step 4:
730 divided by 87 is 8 with a remainder of 34.
Write down 8 as next digit of the result. 
Result so far: 58.0
Subtracting 696 from 730 leaves us with 34.
Bring next digit (8) of the dividend behind the 34 and repeat the process: 348 / 87

Let's proceed to step 5:
348 divided by 87 is 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 584.0
Subtract 348 from 348 to get 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 87

On to step 6:
If we divide 8 by 87, we get 0 and a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 5840.0
The remainder is 8 after subtracting 0 from 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 7:
80 divided by 87 is 0 with a remainder of 80.
The number 0 becomes the next digit in our result. 
Result so far: 5840.0
Deduct 0 from 80 and we're left with 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 800, and continue the process.

On to step 8:
87 can be fit into 800 9 times, resulting in a remainder of 17.
Use 9 as the next digit of our solution. 
Result so far: 5840.09
Subtracting 783 from 800 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 9:
170 divided by 87 is 1 with a remainder of 83.
The next digit of our result is 1. 
Result so far: 5840.091
The remainder is 83 after subtracting 87 from 170.
Since there are no more digits in the dividend, we add a zero to the remainder making it 830, and continue the process.

Going ahead to step 10:
830 divided by 87 is 9 with a remainder of 47.
Put 9 as the next digit of the answer. 
Result so far: 5840.0919
If we subtract 783 from 830, we get 47.
Since there are no more digits in the dividend, we add a zero to the remainder making it 470, and continue the process.

Going ahead to step 11:
87 goes into 470 5 times with a remainder of 35.
The next digit of our result is 5. 
Result so far: 5840.09195
If we take 435 away from 470, we end up with 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Moving on to step 12:
The number 87 fits into 350 4 times, leaving a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 5840.091954
Subtracting 348 from 350 leaves us 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 13:
When dividing 20 by 87, we get 0 with a remainder of 20.
The next digit of our result is 0. 
Result so far: 5840.091954
Subtracting 0 from 20 leaves us 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.

On to step 14:
If we divide 200 by 87, we get 2 and a remainder of 26.
Put 2 as the next digit of the answer. 
Result so far: 5840.09195402
The remainder is 26 after subtracting 174 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

The final result is 5840.09195402 with a remainder of 2.6e-08.