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

Let's proceed to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Include the next digit (1) from the dividend after 3, then repeat: 31 / 31

Moving on to step 2:
31 divided by 31 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtracting 31 from 31 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 31

On to step 3:
The number 31 fits into 8 0 times, leaving a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
Subtract 0 from 8 to get 8.
Include the next digit (4) from the dividend after 8, then repeat: 84 / 31

Going ahead to step 4:
31 can be fit into 84 2 times, resulting in a remainder of 22.
The next digit of our result is 2. 
Result so far: 102.0
Deduct 62 from 84 and we're left with 22.
Bring next digit (4) of the dividend behind the 22 and repeat the process: 224 / 31

On to step 5:
When dividing 224 by 31, we get 7 with a remainder of 7.
The next digit of our result is 7. 
Result so far: 1027.0
If we subtract 217 from 224, we get 7.
Take the next digit (5) from the dividend and append it to 7, then repeat: 75 / 31

Going ahead to step 6:
When dividing 75 by 31, we get 2 with a remainder of 13.
The number 2 becomes the next digit in our result. 
Result so far: 10272.0
Subtract 62 from 75 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Going ahead to step 7:
31 goes into 130 4 times with a remainder of 6.
Record the quotient 4 as the next digit in the result. 
Result so far: 10272.4
If we subtract 124 from 130, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Step 8:
31 goes into 60 1 times with a remainder of 29.
The next digit of our result is 1. 
Result so far: 10272.41
Deduct 31 from 60 and we're left with 29.
Since there are no more digits in the dividend, we add a zero to the remainder making it 290, and continue the process.

Going ahead to step 9:
31 can be fit into 290 9 times, resulting in a remainder of 11.
Write down 9 as next digit of the result. 
Result so far: 10272.419
If we take 279 away from 290, we end up 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 10:
If we divide 110 by 31, we get 3 and a remainder of 17.
The next digit of our result is 3. 
Result so far: 10272.4193
Deduct 93 from 110 and we're left 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.

Moving on to step 11:
31 goes into 170 5 times with a remainder of 15.
Write down 5 as next digit of the result. 
Result so far: 10272.41935
If we subtract 155 from 170, we 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.

Going ahead to step 12:
150 divided by 31 is 4 with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 10272.419354
Deduct 124 from 150 and we're left 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.

Advancing to step 13:
When dividing 260 by 31, we get 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 10272.4193548
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.

On to step 14:
When dividing 120 by 31, we get 3 with a remainder of 27.
Use 3 as the next digit of our solution. 
Result so far: 10272.41935483
Subtracting 93 from 120 leaves us 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.

Our division results in 10272.41935483 with a remaining 2.7e-08.