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

On to step 1:
2 can be fit into 2 1 times, resulting in a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 2 away from 2, we end up with 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 2

Moving on to step 2:
2 goes into 5 2 times with a remainder of 1.
Put 2 as the next digit of the answer. 
Result so far: 12.0
If we subtract 4 from 5, we get 1.
Fetch the next digit (5) from the dividend, attach it to 1 and continue: 15 / 2

Moving on to step 3:
If we divide 15 by 2, we get 7 and a remainder of 1.
The number 7 becomes the next digit in our result. 
Result so far: 127.0
The remainder is 1 after subtracting 14 from 15.
Bring next digit (9) of the dividend behind the 1 and repeat the process: 19 / 2

Going ahead to step 4:
When dividing 19 by 2, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 1279.0
Deduct 18 from 19 and we're left with 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 2

Advancing to step 5:
If we divide 18 by 2, we get 9 and a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 12799.0
Deduct 18 from 18 and we're left with 0.
Grab the next digit (7) from the dividend, add it to 0, then carry on: 7 / 2

Let's proceed to step 6:
If we divide 7 by 2, we get 3 and a remainder of 1.
The number 3 becomes the next digit in our result. 
Result so far: 127993.0
Subtracting 6 from 7 leaves us 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.
Record the quotient 5 as the next digit in the result. 
Result so far: 127993.5
If we subtract 10 from 10, 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:
If we divide 0 by 2, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 127993.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.

Moving on to step 9:
The number 2 fits into 0 0 times, leaving a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 127993.5
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.

In conclusion, the division gives 127993.5 with a balance of 0.0.