We divide 16247 by 5
The aim is to understand the frequency of 5 in 16247.

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

Step 2:
16 divided by 5 is 3 with a remainder of 1.
Put 3 as the next digit of the answer. 
Result so far: 3.0
Subtracting 15 from 16 leaves us with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 5

Going ahead to step 3:
If we divide 12 by 5, we get 2 and a remainder of 2.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
The remainder is 2 after subtracting 10 from 12.
Append the next digit (4) from the dividend to 2 and continue with: 24 / 5

Moving on to step 4:
The number 5 fits into 24 4 times, leaving a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 324.0
Subtracting 20 from 24 leaves us with 4.
Include the next digit (7) from the dividend after 4, then repeat: 47 / 5

Moving on to step 5:
5 can be fit into 47 9 times, resulting in a remainder of 2.
Put 9 as the next digit of the answer. 
Result so far: 3249.0
If we take 45 away from 47, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 6:
5 can be fit into 20 4 times, resulting in a remainder of 0.
Record the quotient 4 as the next digit in the result. 
Result so far: 3249.4
Subtracting 20 from 20 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 7:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3249.4
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 8:
When dividing 0 by 5, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 3249.4
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 3249.4 with a remainder of 0.0.