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

On 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.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 31

Going ahead to step 2:
31 can be fit into 34 1 times, resulting in a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 31 from 34 to get 3.
Fetch the next digit (9) from the dividend, attach it to 3 and continue: 39 / 31

Let's proceed to step 3:
39 divided by 31 is 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
If we subtract 31 from 39, we get 8.
Append the next digit (9) from the dividend to 8 and continue with: 89 / 31

Moving on to step 4:
If we divide 89 by 31, we get 2 and a remainder of 27.
The next digit of our result is 2. 
Result so far: 112.0
If we take 62 away from 89, we end up with 27.
Take the next digit (5) from the dividend and append it to 27, then repeat: 275 / 31

Moving on to step 5:
When dividing 275 by 31, we get 8 with a remainder of 27.
Record the quotient 8 as the next digit in the result. 
Result so far: 1128.0
Subtracting 248 from 275 leaves us with 27.
Include the next digit (6) from the dividend after 27, then repeat: 276 / 31

Step 6:
276 divided by 31 is 8 with a remainder of 28.
Put 8 as the next digit of the answer. 
Result so far: 11288.0
Deduct 248 from 276 and we're left 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.

On to step 7:
The number 31 fits into 280 9 times, leaving a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 11288.9
Deduct 279 from 280 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 8:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Use 0 as the next digit of our solution. 
Result so far: 11288.9
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Moving on to step 9:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 11288.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.

Let's proceed to step 10:
70 divided by 31 is 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 11288.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.

Going ahead to step 11:
31 goes into 80 2 times with a remainder of 18.
Use 2 as the next digit of our solution. 
Result so far: 11288.90322
Subtracting 62 from 80 leaves us with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

In conclusion, the division gives 11288.90322 with a balance of 1.8e-05.