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

Let's proceed to step 1:
The number 2 fits into 2 1 times, leaving a remainder of 0.
The next digit of our result is 1. 
Result so far: 1.0
Subtracting 2 from 2 leaves us with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 2

On to step 2:
If we divide 7 by 2, we get 3 and a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtracting 6 from 7 leaves us with 1.
Include the next digit (7) from the dividend after 1, then repeat: 17 / 2

Going ahead to step 3:
When dividing 17 by 2, we get 8 with a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 138.0
Subtracting 16 from 17 leaves us with 1.
Grab the next digit (4) from the dividend, add it to 1, then carry on: 14 / 2

Advancing to step 4:
2 goes into 14 7 times with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 1387.0
If we take 14 away from 14, we end up with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 2

Step 5:
The number 2 fits into 7 3 times, leaving a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 13873.0
Subtract 6 from 7 to get 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 2

Let's proceed to step 6:
If we divide 18 by 2, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 138739.0
The remainder is 0 after subtracting 18 from 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

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: 138739.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.

Step 8:
If we divide 0 by 2, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 138739.0
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.

The quotient of the division is 138739.0, and the remainder is 0.0.