We look at the division of 865002 by 16 
The aim is to understand the frequency of 16 in 865002.

Let's proceed to step 1:
If we divide 8 by 16, we get 0 and a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 8 to get 8.
Fetch the next digit (6) from the dividend, attach it to 8 and continue: 86 / 16

Moving on to step 2:
When dividing 86 by 16, we get 5 with a remainder of 6.
The next digit of our result is 5. 
Result so far: 5.0
Subtracting 80 from 86 leaves us with 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 16

Step 3:
16 goes into 65 4 times with a remainder of 1.
The next digit of our result is 4. 
Result so far: 54.0
If we subtract 64 from 65, we get 1.
Take the next digit (0) from the dividend and append it to 1, then repeat: 10 / 16

Moving on to step 4:
When dividing 10 by 16, we get 0 with a remainder of 10.
The next digit of our result is 0. 
Result so far: 540.0
If we take 0 away from 10, we end up with 10.
Append the next digit (0) from the dividend to 10 and continue with: 100 / 16

On to step 5:
When dividing 100 by 16, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 5406.0
Deduct 96 from 100 and we're left with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 16

Moving on to step 6:
When dividing 42 by 16, we get 2 with a remainder of 10.
The number 2 becomes the next digit in our result. 
Result so far: 54062.0
The remainder is 10 after subtracting 32 from 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Advancing to step 7:
16 can be fit into 100 6 times, resulting in a remainder of 4.
Put 6 as the next digit of the answer. 
Result so far: 54062.6
The remainder is 4 after subtracting 96 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 8:
When dividing 40 by 16, we get 2 with a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 54062.62
The remainder is 8 after subtracting 32 from 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 9:
16 goes into 80 5 times with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 54062.625
If we subtract 80 from 80, 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 10:
16 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 54062.625
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.

On to step 11:
16 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 54062.625
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.

The final outcome is 54062.625, with a leftover of 0.0.