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

Step 1:
2 can be fit into 8 4 times, resulting in a remainder of 0.
Put 4 as the next digit of the answer. 
Result so far: 4.0
If we subtract 8 from 8, we get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 2

Step 2:
The number 2 fits into 2 1 times, leaving a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 41.0
The remainder is 0 after subtracting 2 from 2.
Append the next digit (3) from the dividend to 0 and continue with: 3 / 2

Advancing to step 3:
If we divide 3 by 2, we get 1 and a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 411.0
The remainder is 1 after subtracting 2 from 3.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 2

Let's proceed to step 4:
2 can be fit into 17 8 times, resulting in a remainder of 1.
The next digit of our result is 8. 
Result so far: 4118.0
Subtracting 16 from 17 leaves us with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 2

Going ahead to step 5:
2 goes into 12 6 times with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 41186.0
Deduct 12 from 12 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 2

Let's proceed to step 6:
2 goes into 7 3 times with a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 411863.0
The remainder is 1 after subtracting 6 from 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
2 can be fit into 10 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 411863.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.

Advancing to step 8:
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: 411863.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.

Advancing to step 9:
If we divide 0 by 2, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 411863.5
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

The final outcome is 411863.5, with a leftover of 0.0.