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

Going ahead to step 1:
The number 5 fits into 3 0 times, leaving a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 3 to get 3.
Take the next digit (8) from the dividend and append it to 3, then repeat: 38 / 5

Advancing to step 2:
5 goes into 38 7 times with a remainder of 3.
The next digit of our result is 7. 
Result so far: 7.0
The remainder is 3 after subtracting 35 from 38.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 5

Moving on to step 3:
5 goes into 35 7 times with a remainder of 0.
Use 7 as the next digit of our solution. 
Result so far: 77.0
Subtracting 35 from 35 leaves us with 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 5

Step 4:
5 goes into 8 1 times with a remainder of 3.
Use 1 as the next digit of our solution. 
Result so far: 771.0
Deduct 5 from 8 and we're left with 3.
Grab the next digit (2) from the dividend, add it to 3, then carry on: 32 / 5

Advancing to step 5:
5 goes into 32 6 times with a remainder of 2.
The next digit of our result is 6. 
Result so far: 7716.0
If we subtract 30 from 32, we get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 5

Step 6:
23 divided by 5 is 4 with a remainder of 3.
The next digit of our result is 4. 
Result so far: 77164.0
Subtracting 20 from 23 leaves us with 3.
Since there are no more digits in the dividend, we add a zero to the remainder making it 30, and continue the process.

Step 7:
When dividing 30 by 5, we get 6 with a remainder of 0.
Write down 6 as next digit of the result. 
Result so far: 77164.6
The remainder is 0 after subtracting 30 from 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on 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: 77164.6
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 9:
5 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 77164.6
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 77164.6 with a remainder of 0.0.