We divide 12870163 by 877
The aim is to understand the frequency of 877 in 12870163.

Going ahead to step 1:
877 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Include the next digit (2) from the dividend after 1, then repeat: 12 / 877

Going ahead to step 2:
The number 877 fits into 12 0 times, leaving a remainder of 12.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 12 leaves us with 12.
Append the next digit (8) from the dividend to 12 and continue with: 128 / 877

Step 3:
If we divide 128 by 877, we get 0 and a remainder of 128.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 128 to get 128.
Take the next digit (7) from the dividend and append it to 128, then repeat: 1287 / 877

Step 4:
The number 877 fits into 1287 1 times, leaving a remainder of 410.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 877 from 1287 to get 410.
Fetch the next digit (0) from the dividend, attach it to 410 and continue: 4100 / 877

On to step 5:
The number 877 fits into 4100 4 times, leaving a remainder of 592.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Deduct 3508 from 4100 and we're left with 592.
Append the next digit (1) from the dividend to 592 and continue with: 5921 / 877

Advancing to step 6:
877 can be fit into 5921 6 times, resulting in a remainder of 659.
Record the quotient 6 as the next digit in the result. 
Result so far: 146.0
Subtract 5262 from 5921 to get 659.
Fetch the next digit (6) from the dividend, attach it to 659 and continue: 6596 / 877

Going ahead to step 7:
When dividing 6596 by 877, we get 7 with a remainder of 457.
Record the quotient 7 as the next digit in the result. 
Result so far: 1467.0
If we take 6139 away from 6596, we end up with 457.
Take the next digit (3) from the dividend and append it to 457, then repeat: 4573 / 877

Let's proceed to step 8:
877 goes into 4573 5 times with a remainder of 188.
Write down 5 as next digit of the result. 
Result so far: 14675.0
Deduct 4385 from 4573 and we're left with 188.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1880, and continue the process.

Advancing to step 9:
877 goes into 1880 2 times with a remainder of 126.
Use 2 as the next digit of our solution. 
Result so far: 14675.2
Subtracting 1754 from 1880 leaves us with 126.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1260, and continue the process.

On to step 10:
877 goes into 1260 1 times with a remainder of 383.
Write down 1 as next digit of the result. 
Result so far: 14675.21
The remainder is 383 after subtracting 877 from 1260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3830, and continue the process.

On to step 11:
If we divide 3830 by 877, we get 4 and a remainder of 322.
The next digit of our result is 4. 
Result so far: 14675.214
The remainder is 322 after subtracting 3508 from 3830.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Advancing to step 12:
If we divide 3220 by 877, we get 3 and a remainder of 589.
Record the quotient 3 as the next digit in the result. 
Result so far: 14675.2143
Subtract 2631 from 3220 to get 589.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5890, and continue the process.

Going ahead to step 13:
The number 877 fits into 5890 6 times, leaving a remainder of 628.
Put 6 as the next digit of the answer. 
Result so far: 14675.21436
Deduct 5262 from 5890 and we're left with 628.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6280, and continue the process.

Advancing to step 14:
When dividing 6280 by 877, we get 7 with a remainder of 141.
Use 7 as the next digit of our solution. 
Result so far: 14675.214367
If we subtract 6139 from 6280, we get 141.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1410, and continue the process.

On to step 15:
The number 877 fits into 1410 1 times, leaving a remainder of 533.
The next digit of our result is 1. 
Result so far: 14675.2143671
If we subtract 877 from 1410, we get 533.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5330, and continue the process.

Step 16:
If we divide 5330 by 877, we get 6 and a remainder of 68.
Record the quotient 6 as the next digit in the result. 
Result so far: 14675.21436716
Subtracting 5262 from 5330 leaves us with 68.
Since there are no more digits in the dividend, we add a zero to the remainder making it 680, and continue the process.

After the division, we end up with 14675.21436716 and a remainder of 6.8e-08.