318310 divided by 12 
The aim is to understand the frequency of 12 in 318310.

Moving on to step 1:
12 goes into 3 0 times with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 12

Step 2:
12 can be fit into 31 2 times, resulting in a remainder of 7.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we take 24 away from 31, we end up with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 12

Step 3:
12 can be fit into 78 6 times, resulting in a remainder of 6.
The number 6 becomes the next digit in our result. 
Result so far: 26.0
The remainder is 6 after subtracting 72 from 78.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 12

Let's proceed to step 4:
12 goes into 63 5 times with a remainder of 3.
Use 5 as the next digit of our solution. 
Result so far: 265.0
If we take 60 away from 63, we end up with 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 12

Going ahead to step 5:
When dividing 31 by 12, we get 2 with a remainder of 7.
Use 2 as the next digit of our solution. 
Result so far: 2652.0
Subtracting 24 from 31 leaves us with 7.
Bring next digit (0) of the dividend behind the 7 and repeat the process: 70 / 12

Moving on to step 6:
12 can be fit into 70 5 times, resulting in a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 26525.0
If we take 60 away from 70, we end up 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.

Advancing to step 7:
When dividing 100 by 12, we get 8 with a remainder of 4.
The next digit of our result is 8. 
Result so far: 26525.8
Deduct 96 from 100 and we're left with 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 8:
12 can be fit into 40 3 times, resulting in a remainder of 4.
The number 3 becomes the next digit in our result. 
Result so far: 26525.83
Deduct 36 from 40 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 9:
The number 12 fits into 40 3 times, leaving a remainder of 4.
Record the quotient 3 as the next digit in the result. 
Result so far: 26525.833
The remainder is 4 after subtracting 36 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

The quotient of the division is 26525.833, and the remainder is 0.0004.