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

Let's proceed to step 1:
When dividing 2 by 5, we get 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 2 to get 2.
Grab the next digit (0) from the dividend, add it to 2, then carry on: 20 / 5

Step 2:
20 divided by 5 is 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 4.0
Subtract 20 from 20 to get 0.
Grab the next digit (2) from the dividend, add it to 0, then carry on: 2 / 5

On to step 3:
2 divided by 5 is 0 with a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 40.0
If we subtract 0 from 2, we get 2.
Append the next digit (7) from the dividend to 2 and continue with: 27 / 5

Going ahead to step 4:
The number 5 fits into 27 5 times, leaving a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 405.0
Subtracting 25 from 27 leaves us with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 5

Step 5:
If we divide 27 by 5, we get 5 and a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 4055.0
If we take 25 away from 27, 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.

Let's proceed to step 6:
5 goes into 20 4 times with a remainder of 0.
The number 4 becomes the next digit in our result. 
Result so far: 4055.4
The remainder is 0 after subtracting 20 from 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 7:
5 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 4055.4
Subtract 0 from 0 to get 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 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 4055.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 quotient of the division is 4055.4, and the remainder is 0.0.