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

On to step 1:
9 divided by 16 is 0 with a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Deduct 0 from 9 and we're left with 9.
Append the next digit (7) from the dividend to 9 and continue with: 97 / 16

Advancing to step 2:
If we divide 97 by 16, we get 6 and a remainder of 1.
Put 6 as the next digit of the answer. 
Result so far: 6.0
The remainder is 1 after subtracting 96 from 97.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 16

Going ahead to step 3:
11 divided by 16 is 0 with a remainder of 11.
Record the quotient 0 as the next digit in the result. 
Result so far: 60.0
Deduct 0 from 11 and we're left with 11.
Grab the next digit (7) from the dividend, add it to 11, then carry on: 117 / 16

On to step 4:
If we divide 117 by 16, we get 7 and a remainder of 5.
The next digit of our result is 7. 
Result so far: 607.0
Subtracting 112 from 117 leaves us with 5.
Take the next digit (9) from the dividend and append it to 5, then repeat: 59 / 16

Let's proceed to step 5:
If we divide 59 by 16, we get 3 and a remainder of 11.
The next digit of our result is 3. 
Result so far: 6073.0
Deduct 48 from 59 and we're left with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 16

Going ahead to step 6:
If we divide 117 by 16, we get 7 and a remainder of 5.
Record the quotient 7 as the next digit in the result. 
Result so far: 60737.0
If we take 112 away from 117, we end up with 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.
Record the quotient 3 as the next digit in the result. 
Result so far: 60737.3
Subtract 48 from 50 to 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.

Advancing to step 8:
16 can be fit into 20 1 times, resulting in a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 60737.31
Deduct 16 from 20 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
40 divided by 16 is 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 60737.312
Subtract 32 from 40 to 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.

Let's proceed to step 10:
If we divide 80 by 16, we get 5 and a remainder of 0.
The next digit of our result is 5. 
Result so far: 60737.3125
If we take 80 away from 80, we end up 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.

Going ahead to step 11:
If we divide 0 by 16, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 60737.3125
Subtracting 0 from 0 leaves us 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.

Let's proceed to step 12:
When dividing 0 by 16, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 60737.3125
The remainder is 0 after subtracting 0 from 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 60737.3125 and a remainder of 0.0.