Let's divide 31229058 by 870
The aim is to understand the frequency of 870 in 31229058.

Step 1:
870 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 870

Let's proceed to step 2:
870 can be fit into 31 0 times, resulting in a remainder of 31.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 31 to get 31.
Fetch the next digit (2) from the dividend, attach it to 31 and continue: 312 / 870

Let's proceed to step 3:
870 goes into 312 0 times with a remainder of 312.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 312, we end up with 312.
Fetch the next digit (2) from the dividend, attach it to 312 and continue: 3122 / 870

Advancing to step 4:
3122 divided by 870 is 3 with a remainder of 512.
Use 3 as the next digit of our solution. 
Result so far: 3.0
If we take 2610 away from 3122, we end up with 512.
Grab the next digit (9) from the dividend, add it to 512, then carry on: 5129 / 870

Advancing to step 5:
870 goes into 5129 5 times with a remainder of 779.
Use 5 as the next digit of our solution. 
Result so far: 35.0
Deduct 4350 from 5129 and we're left with 779.
Take the next digit (0) from the dividend and append it to 779, then repeat: 7790 / 870

Going ahead to step 6:
870 goes into 7790 8 times with a remainder of 830.
The number 8 becomes the next digit in our result. 
Result so far: 358.0
Subtracting 6960 from 7790 leaves us with 830.
Fetch the next digit (5) from the dividend, attach it to 830 and continue: 8305 / 870

Let's proceed to step 7:
8305 divided by 870 is 9 with a remainder of 475.
Put 9 as the next digit of the answer. 
Result so far: 3589.0
If we subtract 7830 from 8305, we get 475.
Bring next digit (8) of the dividend behind the 475 and repeat the process: 4758 / 870

Let's proceed to step 8:
The number 870 fits into 4758 5 times, leaving a remainder of 408.
Record the quotient 5 as the next digit in the result. 
Result so far: 35895.0
If we subtract 4350 from 4758, we get 408.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4080, and continue the process.

Advancing to step 9:
When dividing 4080 by 870, we get 4 with a remainder of 600.
Put 4 as the next digit of the answer. 
Result so far: 35895.4
Deduct 3480 from 4080 and we're left with 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Moving on to step 10:
6000 divided by 870 is 6 with a remainder of 780.
Use 6 as the next digit of our solution. 
Result so far: 35895.46
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.

Moving on to step 11:
When dividing 7800 by 870, we get 8 with a remainder of 840.
The next digit of our result is 8. 
Result so far: 35895.468
Subtracting 6960 from 7800 leaves us with 840.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8400, and continue the process.

Let's proceed to step 12:
When dividing 8400 by 870, we get 9 with a remainder of 570.
Use 9 as the next digit of our solution. 
Result so far: 35895.4689
If we subtract 7830 from 8400, we get 570.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5700, and continue the process.

On to step 13:
5700 divided by 870 is 6 with a remainder of 480.
Write down 6 as next digit of the result. 
Result so far: 35895.46896
The remainder is 480 after subtracting 5220 from 5700.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4800, and continue the process.

On to step 14:
When dividing 4800 by 870, we get 5 with a remainder of 450.
Put 5 as the next digit of the answer. 
Result so far: 35895.468965
If we take 4350 away from 4800, we end up with 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Let's proceed to step 15:
870 goes into 4500 5 times with a remainder of 150.
The number 5 becomes the next digit in our result. 
Result so far: 35895.4689655
Subtracting 4350 from 4500 leaves us with 150.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1500, and continue the process.

Our division results in 35895.4689655 with a remaining 1.5e-06.