We divide 321212 by 2
The aim is to understand the frequency of 2 in 321212.

Moving on to step 1:
2 goes into 3 1 times with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 2 from 3 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 2

Going ahead to step 2:
2 can be fit into 12 6 times, resulting in a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 12 from 12 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Moving on to step 3:
The number 2 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 160.0
If we subtract 0 from 1, we get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 2

Going ahead to step 4:
When dividing 12 by 2, we get 6 with a remainder of 0.
The next digit of our result is 6. 
Result so far: 1606.0
Subtracting 12 from 12 leaves us with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

On to step 5:
1 divided by 2 is 0 with a remainder of 1.
The next digit of our result is 0. 
Result so far: 16060.0
Subtracting 0 from 1 leaves us with 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 2

On to step 6:
The number 2 fits into 12 6 times, leaving a remainder of 0.
Use 6 as the next digit of our solution. 
Result so far: 160606.0
Subtracting 12 from 12 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.

Moving on to step 7:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 160606.0
Deduct 0 from 0 and we're left 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 2 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 160606.0
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

After the division, we end up with 160606.0 and a remainder of 0.0.