345873 divided by 2 
The aim is to understand the frequency of 2 in 345873.

Advancing to step 1:
2 can be fit into 3 1 times, resulting in a remainder of 1.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 1 after subtracting 2 from 3.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 2

On to step 2:
The number 2 fits into 14 7 times, leaving a remainder of 0.
Put 7 as the next digit of the answer. 
Result so far: 17.0
Subtract 14 from 14 to get 0.
Bring next digit (5) of the dividend behind the 0 and repeat the process: 5 / 2

Moving on to step 3:
5 divided by 2 is 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 172.0
Subtracting 4 from 5 leaves us with 1.
Append the next digit (8) from the dividend to 1 and continue with: 18 / 2

On to step 4:
If we divide 18 by 2, we get 9 and a remainder of 0.
The number 9 becomes the next digit in our result. 
Result so far: 1729.0
Subtracting 18 from 18 leaves us with 0.
Take the next digit (7) from the dividend and append it to 0, then repeat: 7 / 2

On to step 5:
When dividing 7 by 2, we get 3 with a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 17293.0
If we subtract 6 from 7, we get 1.
Include the next digit (3) from the dividend after 1, then repeat: 13 / 2

Step 6:
When dividing 13 by 2, we get 6 with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 172936.0
If we take 12 away from 13, we end up with 1.
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 7:
10 divided by 2 is 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 172936.5
Subtracting 10 from 10 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 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 172936.5
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.

Let's proceed to step 9:
0 divided by 2 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 172936.5
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.

Our division results in 172936.5 with a remaining 0.0.