Let's divide 165081 by 16
The aim is to understand the frequency of 16 in 165081.

Moving on to step 1:
When dividing 1 by 16, we get 0 with a remainder of 1.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Fetch the next digit (6) from the dividend, attach it to 1 and continue: 16 / 16

Step 2:
16 goes into 16 1 times with a remainder of 0.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 16 from 16 to get 0.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 16

Advancing to step 3:
5 divided by 16 is 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 10.0
The remainder is 5 after subtracting 0 from 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 16

On to step 4:
16 goes into 50 3 times with a remainder of 2.
The next digit of our result is 3. 
Result so far: 103.0
The remainder is 2 after subtracting 48 from 50.
Grab the next digit (8) from the dividend, add it to 2, then carry on: 28 / 16

Going ahead to step 5:
16 goes into 28 1 times with a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1031.0
The remainder is 12 after subtracting 16 from 28.
Bring next digit (1) of the dividend behind the 12 and repeat the process: 121 / 16

Moving on to step 6:
When dividing 121 by 16, we get 7 with a remainder of 9.
Write down 7 as next digit of the result. 
Result so far: 10317.0
If we take 112 away from 121, we end up with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Going ahead to step 7:
When dividing 90 by 16, we get 5 with a remainder of 10.
The number 5 becomes the next digit in our result. 
Result so far: 10317.5
Deduct 80 from 90 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 8:
16 goes into 100 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 10317.56
If we take 96 away from 100, we end up 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:
When dividing 40 by 16, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 10317.562
Subtracting 32 from 40 leaves us with 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:
When dividing 80 by 16, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 10317.5625
The remainder is 0 after subtracting 80 from 80.
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:
0 divided by 16 is 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 10317.5625
If we take 0 away from 0, 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.

Advancing to step 12:
0 divided by 16 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10317.5625
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.

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