Let's divide 370452 by 31
The aim is to understand the frequency of 31 in 370452.

Moving on to step 1:
31 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Take the next digit (7) from the dividend and append it to 3, then repeat: 37 / 31

On to step 2:
When dividing 37 by 31, we get 1 with a remainder of 6.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we subtract 31 from 37, we get 6.
Include the next digit (0) from the dividend after 6, then repeat: 60 / 31

Advancing to step 3:
If we divide 60 by 31, we get 1 and a remainder of 29.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 31 from 60 leaves us with 29.
Take the next digit (4) from the dividend and append it to 29, then repeat: 294 / 31

Step 4:
31 goes into 294 9 times with a remainder of 15.
Use 9 as the next digit of our solution. 
Result so far: 119.0
Deduct 279 from 294 and we're left with 15.
Append the next digit (5) from the dividend to 15 and continue with: 155 / 31

On to step 5:
31 goes into 155 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 1195.0
Subtracting 155 from 155 leaves us with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 31

Advancing to step 6:
31 can be fit into 2 0 times, resulting in a remainder of 2.
The number 0 becomes the next digit in our result. 
Result so far: 11950.0
Subtract 0 from 2 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 11950.0
The remainder is 20 after subtracting 0 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Moving on to step 8:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 11950.06
If we subtract 186 from 200, we get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

On to step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
The number 4 becomes the next digit in our result. 
Result so far: 11950.064
Deduct 124 from 140 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
If we divide 160 by 31, we get 5 and a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 11950.0645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Let's proceed to step 11:
When dividing 50 by 31, we get 1 with a remainder of 19.
The number 1 becomes the next digit in our result. 
Result so far: 11950.06451
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 12:
When dividing 190 by 31, we get 6 with a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 11950.064516
The remainder is 4 after subtracting 186 from 190.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 13:
40 divided by 31 is 1 with a remainder of 9.
The number 1 becomes the next digit in our result. 
Result so far: 11950.0645161
If we subtract 31 from 40, we get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 14:
If we divide 90 by 31, we get 2 and a remainder of 28.
Use 2 as the next digit of our solution. 
Result so far: 11950.06451612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Our division results in 11950.06451612 with a remaining 2.8e-08.