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

Advancing to step 1:
The number 5 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Take the next digit (2) from the dividend and append it to 4, then repeat: 42 / 5

Moving on to step 2:
The number 5 fits into 42 8 times, leaving a remainder of 2.
Put 8 as the next digit of the answer. 
Result so far: 8.0
Subtracting 40 from 42 leaves us with 2.
Include the next digit (2) from the dividend after 2, then repeat: 22 / 5

Let's proceed to step 3:
If we divide 22 by 5, we get 4 and a remainder of 2.
Record the quotient 4 as the next digit in the result. 
Result so far: 84.0
If we subtract 20 from 22, we get 2.
Append the next digit (2) from the dividend to 2 and continue with: 22 / 5

Advancing to step 4:
When dividing 22 by 5, we get 4 with a remainder of 2.
The next digit of our result is 4. 
Result so far: 844.0
If we take 20 away from 22, we end up with 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 5

Let's proceed to step 5:
5 goes into 23 4 times with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 8444.0
Subtracting 20 from 23 leaves us with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 5

Step 6:
If we divide 34 by 5, we get 6 and a remainder of 4.
Write down 6 as next digit of the result. 
Result so far: 84446.0
Subtract 30 from 34 to get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 7:
The number 5 fits into 40 8 times, leaving a remainder of 0.
Put 8 as the next digit of the answer. 
Result so far: 84446.8
If we take 40 away from 40, we end up 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.

On to step 8:
The number 5 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 84446.8
Subtracting 0 from 0 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.

On 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: 84446.8
If we take 0 away from 0, we end up 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.

Our division results in 84446.8 with a remaining 0.0.