Let's divide 731771 by 5
The aim is to understand the frequency of 5 in 731771.

Advancing to step 1:
7 divided by 5 is 1 with a remainder of 2.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 5 from 7, we get 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 5

Advancing to step 2:
When dividing 23 by 5, we get 4 with a remainder of 3.
The number 4 becomes the next digit in our result. 
Result so far: 14.0
Deduct 20 from 23 and we're left with 3.
Take the next digit (1) from the dividend and append it to 3, then repeat: 31 / 5

Advancing to step 3:
31 divided by 5 is 6 with a remainder of 1.
Write down 6 as next digit of the result. 
Result so far: 146.0
The remainder is 1 after subtracting 30 from 31.
Grab the next digit (7) from the dividend, add it to 1, then carry on: 17 / 5

On to step 4:
The number 5 fits into 17 3 times, leaving a remainder of 2.
Put 3 as the next digit of the answer. 
Result so far: 1463.0
Deduct 15 from 17 and we're left with 2.
Take the next digit (7) from the dividend and append it to 2, then repeat: 27 / 5

Step 5:
When dividing 27 by 5, we get 5 with a remainder of 2.
Record the quotient 5 as the next digit in the result. 
Result so far: 14635.0
Subtracting 25 from 27 leaves us with 2.
Grab the next digit (1) from the dividend, add it to 2, then carry on: 21 / 5

Moving on to step 6:
The number 5 fits into 21 4 times, leaving a remainder of 1.
The next digit of our result is 4. 
Result so far: 146354.0
Deduct 20 from 21 and we're left with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Advancing to step 7:
10 divided by 5 is 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 146354.2
Deduct 10 from 10 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.

Let's proceed to step 8:
If we divide 0 by 5, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 146354.2
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.

Let's proceed to step 9:
If we divide 0 by 5, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 146354.2
If we subtract 0 from 0, we 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.

Our division results in 146354.2 with a remaining 0.0.