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

Advancing 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 subtract 0 from 3, we get 3.
Grab the next digit (1) from the dividend, add it to 3, then carry on: 31 / 31

Let's proceed to step 2:
31 goes into 31 1 times with a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 31 from 31 to get 0.
Bring next digit (1) of the dividend behind the 0 and repeat the process: 1 / 31

Moving on to step 3:
31 goes into 1 0 times with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
If we subtract 0 from 1, we get 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 31

Step 4:
The number 31 fits into 17 0 times, leaving a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 100.0
If we take 0 away from 17, we end up with 17.
Fetch the next digit (9) from the dividend, attach it to 17 and continue: 179 / 31

Let's proceed to step 5:
179 divided by 31 is 5 with a remainder of 24.
Use 5 as the next digit of our solution. 
Result so far: 1005.0
If we subtract 155 from 179, we get 24.
Bring next digit (5) of the dividend behind the 24 and repeat the process: 245 / 31

Moving on to step 6:
31 goes into 245 7 times with a remainder of 28.
Record the quotient 7 as the next digit in the result. 
Result so far: 10057.0
The remainder is 28 after subtracting 217 from 245.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Step 7:
When dividing 280 by 31, we get 9 with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 10057.9
Subtract 279 from 280 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.

Let's proceed to step 8:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 10057.9
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 9:
100 divided by 31 is 3 with a remainder of 7.
The next digit of our result is 3. 
Result so far: 10057.903
The remainder is 7 after subtracting 93 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 10:
70 divided by 31 is 2 with a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 10057.9032
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 11:
When dividing 80 by 31, we get 2 with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 10057.90322
If we subtract 62 from 80, we get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 10057.90322, and the remainder is 1.8e-05.