670652 ÷ 31 
The aim is to understand the frequency of 31 in 670652.

On to step 1:
The number 31 fits into 6 0 times, leaving a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 31

Going ahead to step 2:
31 can be fit into 67 2 times, resulting in a remainder of 5.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 62 from 67 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 31

Advancing to step 3:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 21.0
If we subtract 31 from 50, we get 19.
Take the next digit (6) from the dividend and append it to 19, then repeat: 196 / 31

On to step 4:
When dividing 196 by 31, we get 6 with a remainder of 10.
The number 6 becomes the next digit in our result. 
Result so far: 216.0
If we take 186 away from 196, we end up with 10.
Fetch the next digit (5) from the dividend, attach it to 10 and continue: 105 / 31

Step 5:
If we divide 105 by 31, we get 3 and a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 2163.0
The remainder is 12 after subtracting 93 from 105.
Take the next digit (2) from the dividend and append it to 12, then repeat: 122 / 31

Step 6:
The number 31 fits into 122 3 times, leaving a remainder of 29.
The number 3 becomes the next digit in our result. 
Result so far: 21633.0
Subtract 93 from 122 to get 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Step 7:
When dividing 290 by 31, we get 9 with a remainder of 11.
Use 9 as the next digit of our solution. 
Result so far: 21633.9
Deduct 279 from 290 and we're left with 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Going ahead to step 8:
31 goes into 110 3 times with a remainder of 17.
Record the quotient 3 as the next digit in the result. 
Result so far: 21633.93
Subtracting 93 from 110 leaves us with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Advancing to step 9:
When dividing 170 by 31, we get 5 with a remainder of 15.
Use 5 as the next digit of our solution. 
Result so far: 21633.935
Subtract 155 from 170 to get 15.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Moving on to step 10:
31 goes into 150 4 times with a remainder of 26.
Put 4 as the next digit of the answer. 
Result so far: 21633.9354
If we take 124 away from 150, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Let's proceed to step 11:
The number 31 fits into 260 8 times, leaving a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 21633.93548
The remainder is 12 after subtracting 248 from 260.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 12:
120 divided by 31 is 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 21633.935483
If we take 93 away from 120, we end up with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Moving on to step 13:
270 divided by 31 is 8 with a remainder of 22.
Use 8 as the next digit of our solution. 
Result so far: 21633.9354838
Subtracting 248 from 270 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 14:
220 divided by 31 is 7 with a remainder of 3.
The next digit of our result is 7. 
Result so far: 21633.93548387
Subtract 217 from 220 to get 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

In conclusion, the division gives 21633.93548387 with a balance of 3e-09.