Let's divide 31350 by 12
The aim is to understand the frequency of 12 in 31350.

On to step 1:
The number 12 fits into 3 0 times, leaving a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (1) from the dividend to 3 and continue with: 31 / 12

Advancing to step 2:
12 can be fit into 31 2 times, resulting in a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Subtract 24 from 31 to get 7.
Take the next digit (3) from the dividend and append it to 7, then repeat: 73 / 12

Moving on to step 3:
12 can be fit into 73 6 times, resulting in a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 26.0
Subtracting 72 from 73 leaves us with 1.
Grab the next digit (5) from the dividend, add it to 1, then carry on: 15 / 12

Going ahead to step 4:
If we divide 15 by 12, we get 1 and a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 261.0
Subtracting 12 from 15 leaves us with 3.
Grab the next digit (0) from the dividend, add it to 3, then carry on: 30 / 12

On to step 5:
12 goes into 30 2 times with a remainder of 6.
The next digit of our result is 2. 
Result so far: 2612.0
Subtracting 24 from 30 leaves us with 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

Advancing to step 6:
60 divided by 12 is 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 2612.5
Subtracting 60 from 60 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Going ahead to step 7:
0 divided by 12 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 2612.5
Subtracting 0 from 0 leaves us with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 8:
The number 12 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 2612.5
If we take 0 away from 0, we end up with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 2612.5 with a remaining 0.0.