507470 divided by 16 
The aim is to understand the frequency of 16 in 507470.

Step 1:
16 goes into 5 0 times with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 5 and we're left with 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 16

Step 2:
If we divide 50 by 16, we get 3 and a remainder of 2.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 48 from 50 leaves us with 2.
Grab the next digit (7) from the dividend, add it to 2, then carry on: 27 / 16

On to step 3:
The number 16 fits into 27 1 times, leaving a remainder of 11.
Record the quotient 1 as the next digit in the result. 
Result so far: 31.0
Subtract 16 from 27 to get 11.
Grab the next digit (4) from the dividend, add it to 11, then carry on: 114 / 16

On to step 4:
16 can be fit into 114 7 times, resulting in a remainder of 2.
The number 7 becomes the next digit in our result. 
Result so far: 317.0
The remainder is 2 after subtracting 112 from 114.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 16

On to step 5:
If we divide 27 by 16, we get 1 and a remainder of 11.
Use 1 as the next digit of our solution. 
Result so far: 3171.0
Subtracting 16 from 27 leaves us with 11.
Take the next digit (0) from the dividend and append it to 11, then repeat: 110 / 16

Moving on to step 6:
16 goes into 110 6 times with a remainder of 14.
The next digit of our result is 6. 
Result so far: 31716.0
Subtract 96 from 110 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 7:
When dividing 140 by 16, we get 8 with a remainder of 12.
The next digit of our result is 8. 
Result so far: 31716.8
If we subtract 128 from 140, we get 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Moving on to step 8:
16 can be fit into 120 7 times, resulting in a remainder of 8.
The next digit of our result is 7. 
Result so far: 31716.87
If we take 112 away from 120, we end up 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.

On to step 9:
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: 31716.875
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.

On to step 10:
When dividing 0 by 16, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 31716.875
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.

Advancing to step 11:
16 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 31716.875
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.

Our division results in 31716.875 with a remaining 0.0.