We look at the division of 823661 by 2 
The aim is to understand the frequency of 2 in 823661.

On to step 1:
The number 2 fits into 8 4 times, leaving 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.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 2

Let's proceed to step 2:
If we divide 2 by 2, we get 1 and a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 41.0
Deduct 2 from 2 and we're left with 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 2

Let's proceed to step 3:
2 goes into 3 1 times with a remainder of 1.
The next digit of our result is 1. 
Result so far: 411.0
Deduct 2 from 3 and we're left with 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 2

Moving on to step 4:
If we divide 16 by 2, we get 8 and a remainder of 0.
The next digit of our result is 8. 
Result so far: 4118.0
Subtracting 16 from 16 leaves us with 0.
Include the next digit (6) from the dividend after 0, then repeat: 6 / 2

On to step 5:
6 divided by 2 is 3 with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 41183.0
Subtract 6 from 6 to get 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Advancing to step 6:
2 can be fit into 1 0 times, resulting in a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 411830.0
Subtracting 0 from 1 leaves us 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:
2 can be fit into 10 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 411830.5
If we take 10 away from 10, 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.

Moving on to step 8:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 411830.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.

Moving on to step 9:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 411830.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.

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