We look at the division of 318865 by 1 
The aim is to understand the frequency of 1 in 318865.

On to step 1:
3 divided by 1 is 3 with a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 3.0
Subtracting 3 from 3 leaves us with 0.
Include the next digit (1) from the dividend after 0, then repeat: 1 / 1

Let's proceed to step 2:
1 divided by 1 is 1 with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtracting 1 from 1 leaves us with 0.
Include the next digit (8) from the dividend after 0, then repeat: 8 / 1

Advancing to step 3:
1 can be fit into 8 8 times, resulting in a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 318.0
Subtracting 8 from 8 leaves us with 0.
Grab the next digit (8) from the dividend, add it to 0, then carry on: 8 / 1

Going ahead to step 4:
When dividing 8 by 1, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 3188.0
If we take 8 away from 8, we end up with 0.
Bring next digit (6) of the dividend behind the 0 and repeat the process: 6 / 1

Advancing to step 5:
When dividing 6 by 1, we get 6 with a remainder of 0.
The number 6 becomes the next digit in our result. 
Result so far: 31886.0
Deduct 6 from 6 and we're left with 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 1

On to step 6:
1 can be fit into 5 5 times, resulting in a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 318865.0
If we subtract 5 from 5, 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.

Step 7:
If we divide 0 by 1, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 318865.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.

Step 8:
1 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 318865.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.

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