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

Going ahead to step 1:
3 divided by 16 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 16

Advancing to step 2:
If we divide 30 by 16, we get 1 and a remainder of 14.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 16 from 30 to get 14.
Fetch the next digit (1) from the dividend, attach it to 14 and continue: 141 / 16

Advancing to step 3:
16 goes into 141 8 times with a remainder of 13.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 128 from 141 to get 13.
Fetch the next digit (3) from the dividend, attach it to 13 and continue: 133 / 16

Step 4:
16 goes into 133 8 times with a remainder of 5.
Write down 8 as next digit of the result. 
Result so far: 188.0
If we take 128 away from 133, we end up with 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 16

Advancing to step 5:
59 divided by 16 is 3 with a remainder of 11.
Write down 3 as next digit of the result. 
Result so far: 1883.0
Subtracting 48 from 59 leaves us with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 16

Step 6:
117 divided by 16 is 7 with a remainder of 5.
Put 7 as the next digit of the answer. 
Result so far: 18837.0
If we subtract 112 from 117, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
When dividing 50 by 16, we get 3 with a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 18837.3
If we subtract 48 from 50, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 8:
16 goes into 20 1 times with a remainder of 4.
The number 1 becomes the next digit in our result. 
Result so far: 18837.31
If we subtract 16 from 20, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Step 9:
16 can be fit into 40 2 times, resulting in a remainder of 8.
Write down 2 as next digit of the result. 
Result so far: 18837.312
If we subtract 32 from 40, we get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 10:
16 can be fit into 80 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 18837.3125
Subtract 80 from 80 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.

On to step 11:
0 divided by 16 is 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 18837.3125
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 12:
When dividing 0 by 16, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 18837.3125
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.

Our division results in 18837.3125 with a remaining 0.0.