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

Going ahead to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Append the next digit (3) from the dividend to 3 and continue with: 33 / 31

Moving on to step 2:
If we divide 33 by 31, we get 1 and a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 33, we end up with 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 31

Step 3:
If we divide 20 by 31, we get 0 and a remainder of 20.
The number 0 becomes the next digit in our result. 
Result so far: 10.0
If we take 0 away from 20, we end up with 20.
Append the next digit (4) from the dividend to 20 and continue with: 204 / 31

Advancing to step 4:
204 divided by 31 is 6 with a remainder of 18.
Use 6 as the next digit of our solution. 
Result so far: 106.0
The remainder is 18 after subtracting 186 from 204.
Append the next digit (8) from the dividend to 18 and continue with: 188 / 31

On to step 5:
The number 31 fits into 188 6 times, leaving a remainder of 2.
Write down 6 as next digit of the result. 
Result so far: 1066.0
If we take 186 away from 188, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 31

On to step 6:
31 goes into 27 0 times with a remainder of 27.
Put 0 as the next digit of the answer. 
Result so far: 10660.0
Subtracting 0 from 27 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.

On to step 7:
The number 31 fits into 270 8 times, leaving a remainder of 22.
Write down 8 as next digit of the result. 
Result so far: 10660.8
The remainder is 22 after subtracting 248 from 270.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Step 8:
220 divided by 31 is 7 with a remainder of 3.
Write down 7 as next digit of the result. 
Result so far: 10660.87
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.

Let's proceed to step 9:
The number 31 fits into 30 0 times, leaving a remainder of 30.
The number 0 becomes the next digit in our result. 
Result so far: 10660.87
The remainder is 30 after subtracting 0 from 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 10:
When dividing 300 by 31, we get 9 with a remainder of 21.
The number 9 becomes the next digit in our result. 
Result so far: 10660.8709
Deduct 279 from 300 and we're left 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.

Let's proceed to step 11:
31 goes into 210 6 times with a remainder of 24.
Record the quotient 6 as the next digit in the result. 
Result so far: 10660.87096
The remainder is 24 after subtracting 186 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Step 12:
The number 31 fits into 240 7 times, leaving a remainder of 23.
Use 7 as the next digit of our solution. 
Result so far: 10660.870967
Subtract 217 from 240 to get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Going ahead to step 13:
31 can be fit into 230 7 times, resulting in a remainder of 13.
The next digit of our result is 7. 
Result so far: 10660.8709677
Subtracting 217 from 230 leaves us with 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

The quotient of the division is 10660.8709677, and the remainder is 1.3e-07.