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

Advancing to step 1:
7 divided by 2 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
If we subtract 6 from 7, we get 1.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 2

Let's proceed to step 2:
If we divide 19 by 2, we get 9 and a remainder of 1.
Write down 9 as next digit of the result. 
Result so far: 39.0
Subtract 18 from 19 to get 1.
Bring next digit (2) of the dividend behind the 1 and repeat the process: 12 / 2

Moving on to step 3:
2 can be fit into 12 6 times, resulting in a remainder of 0.
The next digit of our result is 6. 
Result so far: 396.0
The remainder is 0 after subtracting 12 from 12.
Fetch the next digit (4) from the dividend, attach it to 0 and continue: 4 / 2

Going ahead to step 4:
If we divide 4 by 2, we get 2 and a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 3962.0
If we subtract 4 from 4, we get 0.
Include the next digit (2) from the dividend after 0, then repeat: 2 / 2

Going ahead to step 5:
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: 39621.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.

Moving on to step 6:
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: 39621.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.

Going ahead to step 7:
0 divided by 2 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 39621.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.

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