We're dividing 821140 by 2 
The aim is to understand the frequency of 2 in 821140.

Moving on to step 1:
8 divided by 2 is 4 with a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Deduct 8 from 8 and we're left with 0.
Bring next digit (2) of the dividend behind the 0 and repeat the process: 2 / 2

On to step 2:
When dividing 2 by 2, we get 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
The remainder is 0 after subtracting 2 from 2.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Advancing to step 3:
2 goes into 1 0 times with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 410.0
If we subtract 0 from 1, we get 1.
Append the next digit (1) from the dividend to 1 and continue with: 11 / 2

Let's proceed to step 4:
11 divided by 2 is 5 with a remainder of 1.
The number 5 becomes the next digit in our result. 
Result so far: 4105.0
If we subtract 10 from 11, we get 1.
Fetch the next digit (4) from the dividend, attach it to 1 and continue: 14 / 2

Moving on to step 5:
When dividing 14 by 2, we get 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 41057.0
Subtracting 14 from 14 leaves us with 0.
Append the next digit (0) from the dividend to 0 and continue with: 0 / 2

Step 6:
0 divided by 2 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 410570.0
Subtracting 0 from 0 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:
When dividing 0 by 2, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 410570.0
Subtract 0 from 0 to 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.

Moving on to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 410570.0
Subtracting 0 from 0 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.

The final result is 410570.0 with a remainder of 0.0.