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

Step 1:
3 divided by 31 is 0 with 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.
Append the next digit (2) from the dividend to 3 and continue with: 32 / 31

Advancing to step 2:
32 divided by 31 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 31 from 32, we get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 31

Advancing to step 3:
When dividing 16 by 31, we get 0 with a remainder of 16.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Subtracting 0 from 16 leaves us with 16.
Include the next digit (3) from the dividend after 16, then repeat: 163 / 31

Let's proceed to step 4:
31 can be fit into 163 5 times, resulting in a remainder of 8.
The number 5 becomes the next digit in our result. 
Result so far: 105.0
Subtract 155 from 163 to get 8.
Append the next digit (3) from the dividend to 8 and continue with: 83 / 31

Moving on to step 5:
The number 31 fits into 83 2 times, leaving a remainder of 21.
Record the quotient 2 as the next digit in the result. 
Result so far: 1052.0
Subtracting 62 from 83 leaves us with 21.
Include the next digit (4) from the dividend after 21, then repeat: 214 / 31

On to step 6:
If we divide 214 by 31, we get 6 and a remainder of 28.
Use 6 as the next digit of our solution. 
Result so far: 10526.0
The remainder is 28 after subtracting 186 from 214.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 7:
When dividing 280 by 31, we get 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 10526.9
The remainder is 1 after subtracting 279 from 280.
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:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10526.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:
If we divide 100 by 31, we get 3 and a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 10526.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.

Advancing to step 10:
70 divided by 31 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 10526.9032
If we subtract 62 from 70, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

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: 10526.90322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The final result is 10526.90322 with a remainder of 1.8e-05.