813788 ÷ 2 
The aim is to understand the frequency of 2 in 813788.

Step 1:
2 goes into 8 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 8 from 8 and we're left with 0.
Grab the next digit (1) from the dividend, add it to 0, then carry on: 1 / 2

Moving on to step 2:
When dividing 1 by 2, we get 0 with a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 40.0
Subtract 0 from 1 to get 1.
Fetch the next digit (3) from the dividend, attach it to 1 and continue: 13 / 2

Advancing to step 3:
2 goes into 13 6 times with a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 406.0
Deduct 12 from 13 and we're left with 1.
Fetch the next digit (7) from the dividend, attach it to 1 and continue: 17 / 2

Let's proceed to step 4:
2 can be fit into 17 8 times, resulting in a remainder of 1.
The next digit of our result is 8. 
Result so far: 4068.0
If we subtract 16 from 17, we get 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 2

Let's proceed to step 5:
When dividing 18 by 2, we get 9 with a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 40689.0
The remainder is 0 after subtracting 18 from 18.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 2

Step 6:
The number 2 fits into 8 4 times, leaving a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 406894.0
If we take 8 away from 8, 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.

Advancing to step 7:
If we divide 0 by 2, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 406894.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.

Advancing to step 8:
When dividing 0 by 2, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 406894.0
Subtract 0 from 0 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.

Our division results in 406894.0 with a remaining 0.0.