We look at the division of 12599997 by 255 
The aim is to understand the frequency of 255 in 12599997.

On to step 1:
If we divide 1 by 255, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Grab the next digit (2) from the dividend, add it to 1, then carry on: 12 / 255

Going ahead to step 2:
When dividing 12 by 255, we get 0 with a remainder of 12.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 12 to get 12.
Include the next digit (5) from the dividend after 12, then repeat: 125 / 255

Advancing to step 3:
If we divide 125 by 255, we get 0 and a remainder of 125.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 125 after subtracting 0 from 125.
Append the next digit (9) from the dividend to 125 and continue with: 1259 / 255

On to step 4:
If we divide 1259 by 255, we get 4 and a remainder of 239.
The next digit of our result is 4. 
Result so far: 4.0
The remainder is 239 after subtracting 1020 from 1259.
Include the next digit (9) from the dividend after 239, then repeat: 2399 / 255

On to step 5:
2399 divided by 255 is 9 with a remainder of 104.
The number 9 becomes the next digit in our result. 
Result so far: 49.0
If we take 2295 away from 2399, we end up with 104.
Fetch the next digit (9) from the dividend, attach it to 104 and continue: 1049 / 255

Let's proceed to step 6:
255 goes into 1049 4 times with a remainder of 29.
Use 4 as the next digit of our solution. 
Result so far: 494.0
Subtracting 1020 from 1049 leaves us with 29.
Append the next digit (9) from the dividend to 29 and continue with: 299 / 255

Let's proceed to step 7:
When dividing 299 by 255, we get 1 with a remainder of 44.
Write down 1 as next digit of the result. 
Result so far: 4941.0
Deduct 255 from 299 and we're left with 44.
Take the next digit (7) from the dividend and append it to 44, then repeat: 447 / 255

Step 8:
The number 255 fits into 447 1 times, leaving a remainder of 192.
Use 1 as the next digit of our solution. 
Result so far: 49411.0
If we subtract 255 from 447, we get 192.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1920, and continue the process.

Going ahead to step 9:
The number 255 fits into 1920 7 times, leaving a remainder of 135.
Write down 7 as next digit of the result. 
Result so far: 49411.7
If we subtract 1785 from 1920, we get 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

Step 10:
The number 255 fits into 1350 5 times, leaving a remainder of 75.
Put 5 as the next digit of the answer. 
Result so far: 49411.75
If we subtract 1275 from 1350, we get 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

On to step 11:
255 can be fit into 750 2 times, resulting in a remainder of 240.
The number 2 becomes the next digit in our result. 
Result so far: 49411.752
Deduct 510 from 750 and we're left with 240.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2400, and continue the process.

Going ahead to step 12:
255 goes into 2400 9 times with a remainder of 105.
Use 9 as the next digit of our solution. 
Result so far: 49411.7529
Subtract 2295 from 2400 to get 105.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1050, and continue the process.

Advancing to step 13:
When dividing 1050 by 255, we get 4 with a remainder of 30.
Write down 4 as next digit of the result. 
Result so far: 49411.75294
Subtracting 1020 from 1050 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Let's proceed to step 14:
When dividing 300 by 255, we get 1 with a remainder of 45.
Record the quotient 1 as the next digit in the result. 
Result so far: 49411.752941
The remainder is 45 after subtracting 255 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Advancing to step 15:
If we divide 450 by 255, we get 1 and a remainder of 195.
Record the quotient 1 as the next digit in the result. 
Result so far: 49411.7529411
Deduct 255 from 450 and we're left with 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

The quotient of the division is 49411.7529411, and the remainder is 1.95e-06.