We're dividing 408172 by 5 
The aim is to understand the frequency of 5 in 408172.

Let's proceed to step 1:
The number 5 fits into 4 0 times, leaving a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 5

Let's proceed to step 2:
40 divided by 5 is 8 with a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 8.0
If we subtract 40 from 40, we get 0.
Fetch the next digit (8) from the dividend, attach it to 0 and continue: 8 / 5

Let's proceed to step 3:
8 divided by 5 is 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 81.0
Subtracting 5 from 8 leaves us with 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 5

On to step 4:
5 can be fit into 31 6 times, resulting in a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 816.0
If we subtract 30 from 31, we get 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 5

On to step 5:
5 can be fit into 17 3 times, resulting in a remainder of 2.
Use 3 as the next digit of our solution. 
Result so far: 8163.0
Subtract 15 from 17 to get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 5

Advancing to step 6:
When dividing 22 by 5, we get 4 with a remainder of 2.
The number 4 becomes the next digit in our result. 
Result so far: 81634.0
If we subtract 20 from 22, we get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
When dividing 20 by 5, we get 4 with a remainder of 0.
Write down 4 as next digit of the result. 
Result so far: 81634.4
Subtract 20 from 20 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.

On to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 81634.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.

Step 9:
5 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 81634.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.

Our division results in 81634.4 with a remaining 0.0.