We divide 128257 by 1
The aim is to understand the frequency of 1 in 128257.

Let's proceed to step 1:
1 divided by 1 is 1 with a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 0 after subtracting 1 from 1.
Append the next digit (2) from the dividend to 0 and continue with: 2 / 1

Let's proceed to step 2:
2 divided by 1 is 2 with a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 12.0
If we subtract 2 from 2, we get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 1

On to step 3:
1 can be fit into 8 8 times, resulting in a remainder of 0.
Write down 8 as next digit of the result. 
Result so far: 128.0
Subtracting 8 from 8 leaves us with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 1

On to step 4:
1 can be fit into 2 2 times, resulting in a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 1282.0
The remainder is 0 after subtracting 2 from 2.
Fetch the next digit (5) from the dividend, attach it to 0 and continue: 5 / 1

Step 5:
If we divide 5 by 1, we get 5 and a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 12825.0
If we take 5 away from 5, we end up with 0.
Append the next digit (7) from the dividend to 0 and continue with: 7 / 1

Moving on to step 6:
1 can be fit into 7 7 times, resulting in a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 128257.0
Deduct 7 from 7 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.

Advancing to step 7:
When dividing 0 by 1, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 128257.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.

Advancing to step 8:
1 can be fit into 0 0 times, resulting in a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 128257.0
Deduct 0 from 0 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.

After the division, we end up with 128257.0 and a remainder of 0.0.