We divide 652148 by 31
The aim is to understand the frequency of 31 in 652148.

Moving on to step 1:
31 can be fit into 6 0 times, resulting in a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Include the next digit (5) from the dividend after 6, then repeat: 65 / 31

Going ahead to step 2:
31 goes into 65 2 times with a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 2.0
The remainder is 3 after subtracting 62 from 65.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 31

Going ahead to step 3:
When dividing 32 by 31, we get 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 21.0
Subtracting 31 from 32 leaves us with 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 31

On to step 4:
When dividing 11 by 31, we get 0 with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 210.0
Subtract 0 from 11 to get 11.
Bring next digit (4) of the dividend behind the 11 and repeat the process: 114 / 31

On to step 5:
If we divide 114 by 31, we get 3 and a remainder of 21.
The next digit of our result is 3. 
Result so far: 2103.0
If we subtract 93 from 114, we get 21.
Fetch the next digit (8) from the dividend, attach it to 21 and continue: 218 / 31

Advancing to step 6:
218 divided by 31 is 7 with a remainder of 1.
The next digit of our result is 7. 
Result so far: 21037.0
Subtract 217 from 218 to get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 21037.0
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 21037.03
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 21037.032
The remainder is 8 after subtracting 62 from 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
31 goes into 80 2 times with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 21037.0322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 21037.0322 and a remainder of 0.00018.