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

Moving on to step 1:
2 can be fit into 7 3 times, resulting in a remainder of 1.
Write down 3 as next digit of the result. 
Result so far: 3.0
If we take 6 away from 7, we end up with 1.
Include the next digit (9) from the dividend after 1, then repeat: 19 / 2

Going ahead to step 2:
2 can be fit into 19 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 39.0
Subtract 18 from 19 to get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 2

Step 3:
When dividing 15 by 2, we get 7 with a remainder of 1.
Write down 7 as next digit of the result. 
Result so far: 397.0
If we subtract 14 from 15, we get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 2

Step 4:
When dividing 15 by 2, we get 7 with a remainder of 1.
Record the quotient 7 as the next digit in the result. 
Result so far: 3977.0
Subtract 14 from 15 to get 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 2

On to step 5:
2 goes into 14 7 times with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 39777.0
If we take 14 away from 14, we end up with 0.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 2

Moving on to step 6:
When dividing 5 by 2, we get 2 with a remainder of 1.
Write down 2 as next digit of the result. 
Result so far: 397772.0
Deduct 4 from 5 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Going ahead to step 7:
2 can be fit into 10 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 397772.5
Deduct 10 from 10 and we're left 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.

Going ahead to step 8:
0 divided by 2 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 397772.5
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.

On to step 9:
0 divided by 2 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 397772.5
The remainder is 0 after subtracting 0 from 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 397772.5 and a remainder of 0.0.