We're dividing 50158176 by 870 
The aim is to understand the frequency of 870 in 50158176.

Going ahead to step 1:
870 goes into 5 0 times with a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Bring next digit (0) of the dividend behind the 5 and repeat the process: 50 / 870

Let's proceed to step 2:
When dividing 50 by 870, we get 0 with a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 50 leaves us with 50.
Include the next digit (1) from the dividend after 50, then repeat: 501 / 870

On to step 3:
If we divide 501 by 870, we get 0 and a remainder of 501.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 501, we get 501.
Take the next digit (5) from the dividend and append it to 501, then repeat: 5015 / 870

Let's proceed to step 4:
5015 divided by 870 is 5 with a remainder of 665.
The next digit of our result is 5. 
Result so far: 5.0
If we subtract 4350 from 5015, we get 665.
Take the next digit (8) from the dividend and append it to 665, then repeat: 6658 / 870

Let's proceed to step 5:
When dividing 6658 by 870, we get 7 with a remainder of 568.
Put 7 as the next digit of the answer. 
Result so far: 57.0
If we take 6090 away from 6658, we end up with 568.
Append the next digit (1) from the dividend to 568 and continue with: 5681 / 870

Let's proceed to step 6:
The number 870 fits into 5681 6 times, leaving a remainder of 461.
The next digit of our result is 6. 
Result so far: 576.0
Deduct 5220 from 5681 and we're left with 461.
Bring next digit (7) of the dividend behind the 461 and repeat the process: 4617 / 870

Advancing to step 7:
870 goes into 4617 5 times with a remainder of 267.
Put 5 as the next digit of the answer. 
Result so far: 5765.0
Subtract 4350 from 4617 to get 267.
Grab the next digit (6) from the dividend, add it to 267, then carry on: 2676 / 870

Going ahead to step 8:
The number 870 fits into 2676 3 times, leaving a remainder of 66.
Put 3 as the next digit of the answer. 
Result so far: 57653.0
The remainder is 66 after subtracting 2610 from 2676.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Let's proceed to step 9:
870 can be fit into 660 0 times, resulting in a remainder of 660.
Write down 0 as next digit of the result. 
Result so far: 57653.0
Subtracting 0 from 660 leaves us with 660.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6600, and continue the process.

Going ahead to step 10:
6600 divided by 870 is 7 with a remainder of 510.
Put 7 as the next digit of the answer. 
Result so far: 57653.07
If we take 6090 away from 6600, we end up with 510.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5100, and continue the process.

Going ahead to step 11:
870 can be fit into 5100 5 times, resulting in a remainder of 750.
The number 5 becomes the next digit in our result. 
Result so far: 57653.075
The remainder is 750 after subtracting 4350 from 5100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7500, and continue the process.

On to step 12:
The number 870 fits into 7500 8 times, leaving a remainder of 540.
Use 8 as the next digit of our solution. 
Result so far: 57653.0758
If we subtract 6960 from 7500, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Going ahead to step 13:
If we divide 5400 by 870, we get 6 and a remainder of 180.
Record the quotient 6 as the next digit in the result. 
Result so far: 57653.07586
Subtract 5220 from 5400 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Let's proceed to step 14:
If we divide 1800 by 870, we get 2 and a remainder of 60.
The next digit of our result is 2. 
Result so far: 57653.075862
Subtracting 1740 from 1800 leaves us 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.

Moving on to step 15:
600 divided by 870 is 0 with a remainder of 600.
Write down 0 as next digit of the result. 
Result so far: 57653.075862
If we subtract 0 from 600, we get 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Step 16:
If we divide 6000 by 870, we get 6 and a remainder of 780.
Put 6 as the next digit of the answer. 
Result so far: 57653.07586206
If we take 5220 away from 6000, we end up with 780.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7800, and continue the process.

In conclusion, the division gives 57653.07586206 with a balance of 7.8e-07.