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

Let's proceed to step 1:
If we divide 7 by 2, we get 3 and a remainder of 1.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
If we take 6 away from 7, we end up with 1.
Fetch the next digit (9) from the dividend, attach it to 1 and continue: 19 / 2

Step 2:
2 can be fit into 19 9 times, resulting in a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 18 from 19 and we're left with 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 2

Going ahead to step 3:
2 can be fit into 10 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 395.0
If we subtract 10 from 10, we get 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 2

Let's proceed to step 4:
2 divided by 2 is 1 with a remainder of 0.
Record the quotient 1 as the next digit in the result. 
Result so far: 3951.0
Subtracting 2 from 2 leaves us with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 2

Going ahead to step 5:
The number 2 fits into 6 3 times, leaving a remainder of 0.
Record the quotient 3 as the next digit in the result. 
Result so far: 39513.0
If we subtract 6 from 6, we get 0.
Take the next digit (2) from the dividend and append it to 0, then repeat: 2 / 2

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

Step 7:
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: 395131.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.

Moving on to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 395131.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.

After the division, we end up with 395131.0 and a remainder of 0.0.