316744 divided by 31 
The aim is to understand the frequency of 31 in 316744.

Going ahead to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 31

Going ahead to step 2:
If we divide 31 by 31, we get 1 and a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 0 after subtracting 31 from 31.
Fetch the next digit (6) from the dividend, attach it to 0 and continue: 6 / 31

Moving on to step 3:
When dividing 6 by 31, we get 0 with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 6, we get 6.
Grab the next digit (7) from the dividend, add it to 6, then carry on: 67 / 31

Moving on to step 4:
The number 31 fits into 67 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 102.0
Deduct 62 from 67 and we're left with 5.
Include the next digit (4) from the dividend after 5, then repeat: 54 / 31

Let's proceed to step 5:
31 can be fit into 54 1 times, resulting in a remainder of 23.
Use 1 as the next digit of our solution. 
Result so far: 1021.0
The remainder is 23 after subtracting 31 from 54.
Bring next digit (4) of the dividend behind the 23 and repeat the process: 234 / 31

Advancing to step 6:
If we divide 234 by 31, we get 7 and a remainder of 17.
Put 7 as the next digit of the answer. 
Result so far: 10217.0
Subtract 217 from 234 to get 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

On to step 7:
If we divide 170 by 31, we get 5 and a remainder of 15.
The number 5 becomes the next digit in our result. 
Result so far: 10217.5
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.

Advancing to step 8:
If we divide 150 by 31, we get 4 and a remainder of 26.
Use 4 as the next digit of our solution. 
Result so far: 10217.54
Subtract 124 from 150 to get 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 9:
When dividing 260 by 31, we get 8 with a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 10217.548
If we take 248 away from 260, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Advancing to step 10:
If we divide 120 by 31, we get 3 and a remainder of 27.
Write down 3 as next digit of the result. 
Result so far: 10217.5483
If we subtract 93 from 120, we get 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

Let's proceed to step 11:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Record the quotient 8 as the next digit in the result. 
Result so far: 10217.54838
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 12:
220 divided by 31 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 10217.548387
Deduct 217 from 220 and we're left with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Moving on to step 13:
31 goes into 30 0 times with a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 10217.548387
Subtracting 0 from 30 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 14:
31 can be fit into 300 9 times, resulting in a remainder of 21.
The next digit of our result is 9. 
Result so far: 10217.54838709
If we take 279 away from 300, we end up with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 10217.54838709 with a remainder of 2.1e-08.