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

Let's proceed to step 1:
When dividing 5 by 2, we get 2 with a remainder of 1.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 4 from 5 and we're left with 1.
Grab the next digit (1) from the dividend, add it to 1, then carry on: 11 / 2

Moving on to step 2:
11 divided by 2 is 5 with a remainder of 1.
Use 5 as the next digit of our solution. 
Result so far: 25.0
Subtracting 10 from 11 leaves us with 1.
Take the next digit (4) from the dividend and append it to 1, then repeat: 14 / 2

Going ahead to step 3:
The number 2 fits into 14 7 times, leaving a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 257.0
Subtract 14 from 14 to get 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 2

Going ahead to step 4:
3 divided by 2 is 1 with a remainder of 1.
The next digit of our result is 1. 
Result so far: 2571.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

Let's proceed to step 5:
If we divide 16 by 2, we get 8 and a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 25718.0
If we take 16 away from 16, we end up with 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 2

Let's proceed to step 6:
2 divided by 2 is 1 with a remainder of 0.
The next digit of our result is 1. 
Result so far: 257181.0
If we take 2 away from 2, 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.

Step 7:
0 divided by 2 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 257181.0
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.

Advancing to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 257181.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.

Our division results in 257181.0 with a remaining 0.0.