We look at the division of 870117 by 650 
The aim is to understand the frequency of 650 in 870117.

Going ahead to step 1:
650 goes into 8 0 times with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Append the next digit (7) from the dividend to 8 and continue with: 87 / 650

Step 2:
650 can be fit into 87 0 times, resulting in a remainder of 87.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Include the next digit (0) from the dividend after 87, then repeat: 870 / 650

Advancing to step 3:
870 divided by 650 is 1 with a remainder of 220.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtracting 650 from 870 leaves us with 220.
Fetch the next digit (1) from the dividend, attach it to 220 and continue: 2201 / 650

On to step 4:
650 can be fit into 2201 3 times, resulting in a remainder of 251.
The next digit of our result is 3. 
Result so far: 13.0
Subtracting 1950 from 2201 leaves us with 251.
Append the next digit (1) from the dividend to 251 and continue with: 2511 / 650

Advancing to step 5:
2511 divided by 650 is 3 with a remainder of 561.
Use 3 as the next digit of our solution. 
Result so far: 133.0
Subtracting 1950 from 2511 leaves us with 561.
Take the next digit (7) from the dividend and append it to 561, then repeat: 5617 / 650

Moving on to step 6:
650 goes into 5617 8 times with a remainder of 417.
Record the quotient 8 as the next digit in the result. 
Result so far: 1338.0
Subtracting 5200 from 5617 leaves us with 417.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4170, and continue the process.

On to step 7:
4170 divided by 650 is 6 with a remainder of 270.
Put 6 as the next digit of the answer. 
Result so far: 1338.6
Subtract 3900 from 4170 to get 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2700, and continue the process.

Going ahead to step 8:
When dividing 2700 by 650, we get 4 with a remainder of 100.
Record the quotient 4 as the next digit in the result. 
Result so far: 1338.64
Subtracting 2600 from 2700 leaves us with 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

Let's proceed to step 9:
If we divide 1000 by 650, we get 1 and a remainder of 350.
Record the quotient 1 as the next digit in the result. 
Result so far: 1338.641
If we take 650 away from 1000, we end up with 350.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3500, and continue the process.

Step 10:
650 goes into 3500 5 times with a remainder of 250.
The number 5 becomes the next digit in our result. 
Result so far: 1338.6415
Deduct 3250 from 3500 and we're left with 250.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2500, and continue the process.

On to step 11:
2500 divided by 650 is 3 with a remainder of 550.
Record the quotient 3 as the next digit in the result. 
Result so far: 1338.64153
Subtract 1950 from 2500 to get 550.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5500, and continue the process.

Going ahead to step 12:
650 can be fit into 5500 8 times, resulting in a remainder of 300.
Use 8 as the next digit of our solution. 
Result so far: 1338.641538
Deduct 5200 from 5500 and we're left with 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3000, and continue the process.

Step 13:
When dividing 3000 by 650, we get 4 with a remainder of 400.
Put 4 as the next digit of the answer. 
Result so far: 1338.6415384
If we subtract 2600 from 3000, we get 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

Going ahead to step 14:
The number 650 fits into 4000 6 times, leaving a remainder of 100.
The number 6 becomes the next digit in our result. 
Result so far: 1338.64153846
Subtract 3900 from 4000 to get 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1000, and continue the process.

The final result is 1338.64153846 with a remainder of 1e-07.