We're dividing 500836 by 16 
The aim is to understand the frequency of 16 in 500836.

Advancing to step 1:
16 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Grab the next digit (0) from the dividend, add it to 5, then carry on: 50 / 16

Advancing to step 2:
16 goes into 50 3 times with a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 3.0
The remainder is 2 after subtracting 48 from 50.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 16

Step 3:
16 goes into 20 1 times with a remainder of 4.
The next digit of our result is 1. 
Result so far: 31.0
If we subtract 16 from 20, we get 4.
Bring next digit (8) of the dividend behind the 4 and repeat the process: 48 / 16

Moving on to step 4:
16 goes into 48 3 times with a remainder of 0.
Put 3 as the next digit of the answer. 
Result so far: 313.0
Subtract 48 from 48 to get 0.
Take the next digit (3) from the dividend and append it to 0, then repeat: 3 / 16

Going ahead to step 5:
When dividing 3 by 16, we get 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 3130.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (6) from the dividend, add it to 3, then carry on: 36 / 16

Let's proceed to step 6:
The number 16 fits into 36 2 times, leaving a remainder of 4.
Write down 2 as next digit of the result. 
Result so far: 31302.0
If we subtract 32 from 36, 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 7:
40 divided by 16 is 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 31302.2
Deduct 32 from 40 and we're left 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.

Going ahead to step 8:
16 goes into 80 5 times with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 31302.25
Subtracting 80 from 80 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.

Advancing to step 9:
If we divide 0 by 16, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 31302.25
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.

Let's proceed to step 10:
If we divide 0 by 16, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 31302.25
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.

The final result is 31302.25 with a remainder of 0.0.