50178768 divided by 587 
The aim is to understand the frequency of 587 in 50178768.

Advancing to step 1:
When dividing 5 by 587, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 587

On to step 2:
587 can be fit into 50 0 times, resulting in a remainder of 50.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we take 0 away from 50, we end up with 50.
Fetch the next digit (1) from the dividend, attach it to 50 and continue: 501 / 587

Advancing to step 3:
If we divide 501 by 587, we get 0 and a remainder of 501.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 501 leaves us with 501.
Append the next digit (7) from the dividend to 501 and continue with: 5017 / 587

Let's proceed to step 4:
If we divide 5017 by 587, we get 8 and a remainder of 321.
Write down 8 as next digit of the result. 
Result so far: 8.0
Subtract 4696 from 5017 to get 321.
Grab the next digit (8) from the dividend, add it to 321, then carry on: 3218 / 587

On to step 5:
587 goes into 3218 5 times with a remainder of 283.
The number 5 becomes the next digit in our result. 
Result so far: 85.0
Deduct 2935 from 3218 and we're left with 283.
Grab the next digit (7) from the dividend, add it to 283, then carry on: 2837 / 587

Advancing to step 6:
When dividing 2837 by 587, we get 4 with a remainder of 489.
Use 4 as the next digit of our solution. 
Result so far: 854.0
Deduct 2348 from 2837 and we're left with 489.
Append the next digit (6) from the dividend to 489 and continue with: 4896 / 587

Going ahead to step 7:
The number 587 fits into 4896 8 times, leaving a remainder of 200.
Use 8 as the next digit of our solution. 
Result so far: 8548.0
If we subtract 4696 from 4896, we get 200.
Fetch the next digit (8) from the dividend, attach it to 200 and continue: 2008 / 587

On to step 8:
587 goes into 2008 3 times with a remainder of 247.
Put 3 as the next digit of the answer. 
Result so far: 85483.0
The remainder is 247 after subtracting 1761 from 2008.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2470, and continue the process.

Let's proceed to step 9:
The number 587 fits into 2470 4 times, leaving a remainder of 122.
Record the quotient 4 as the next digit in the result. 
Result so far: 85483.4
Subtracting 2348 from 2470 leaves us with 122.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1220, and continue the process.

On to step 10:
The number 587 fits into 1220 2 times, leaving a remainder of 46.
The next digit of our result is 2. 
Result so far: 85483.42
If we subtract 1174 from 1220, we get 46.
Since there are no more digits in the dividend, we add a zero to the remainder making it 460, and continue the process.

Advancing to step 11:
587 can be fit into 460 0 times, resulting in a remainder of 460.
The next digit of our result is 0. 
Result so far: 85483.42
Deduct 0 from 460 and we're left with 460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Going ahead to step 12:
4600 divided by 587 is 7 with a remainder of 491.
Record the quotient 7 as the next digit in the result. 
Result so far: 85483.4207
If we subtract 4109 from 4600, we get 491.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4910, and continue the process.

Going ahead to step 13:
When dividing 4910 by 587, we get 8 with a remainder of 214.
Use 8 as the next digit of our solution. 
Result so far: 85483.42078
If we subtract 4696 from 4910, we get 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2140, and continue the process.

Moving on to step 14:
587 goes into 2140 3 times with a remainder of 379.
Use 3 as the next digit of our solution. 
Result so far: 85483.420783
Subtracting 1761 from 2140 leaves us with 379.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3790, and continue the process.

Advancing to step 15:
587 goes into 3790 6 times with a remainder of 268.
Use 6 as the next digit of our solution. 
Result so far: 85483.4207836
If we take 3522 away from 3790, we end up with 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Let's proceed to step 16:
The number 587 fits into 2680 4 times, leaving a remainder of 332.
Record the quotient 4 as the next digit in the result. 
Result so far: 85483.42078364
The remainder is 332 after subtracting 2348 from 2680.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3320, and continue the process.

The final result is 85483.42078364 with a remainder of 3.32e-07.