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

Step 1:
31 goes into 3 0 times with a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Bring next digit (4) of the dividend behind the 3 and repeat the process: 34 / 31

Step 2:
31 can be fit into 34 1 times, resulting in a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 31 from 34 to get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 31

Step 3:
31 divided by 31 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 11.0
Subtract 31 from 31 to get 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 31

Moving on to step 4:
31 goes into 2 0 times with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 110.0
If we subtract 0 from 2, we get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 31

On to step 5:
When dividing 26 by 31, we get 0 with a remainder of 26.
Write down 0 as next digit of the result. 
Result so far: 1100.0
Subtracting 0 from 26 leaves us with 26.
Fetch the next digit (4) from the dividend, attach it to 26 and continue: 264 / 31

Let's proceed to step 6:
If we divide 264 by 31, we get 8 and a remainder of 16.
Put 8 as the next digit of the answer. 
Result so far: 11008.0
If we subtract 248 from 264, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 7:
When dividing 160 by 31, we get 5 with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 11008.5
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Step 8:
When dividing 50 by 31, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 11008.51
If we take 31 away from 50, we end up with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Moving on to step 9:
The number 31 fits into 190 6 times, leaving a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 11008.516
Subtract 186 from 190 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 10:
If we divide 40 by 31, we get 1 and a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 11008.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 11:
If we divide 90 by 31, we get 2 and a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 11008.51612
If we subtract 62 from 90, we get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 12:
31 goes into 280 9 times with a remainder of 1.
Put 9 as the next digit of the answer. 
Result so far: 11008.516129
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.

Let's proceed to step 13:
If we divide 10 by 31, we get 0 and a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 11008.516129
Deduct 0 from 10 and we're left with 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 14:
If we divide 100 by 31, we get 3 and a remainder of 7.
The next digit of our result is 3. 
Result so far: 11008.51612903
Deduct 93 from 100 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final result is 11008.51612903 with a remainder of 7e-09.