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

Going ahead to step 1:
5 can be fit into 2 0 times, resulting in a remainder of 2.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 2, we end up with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 5

Step 2:
5 can be fit into 22 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 4.0
Subtracting 20 from 22 leaves us with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 5

On to step 3:
5 goes into 22 4 times with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtract 20 from 22 to get 2.
Append the next digit (3) from the dividend to 2 and continue with: 23 / 5

Moving on to step 4:
When dividing 23 by 5, we get 4 with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 444.0
Deduct 20 from 23 and we're left with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 5

Let's proceed to step 5:
When dividing 34 by 5, we get 6 with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 4446.0
If we take 30 away from 34, we end up with 4.
Include the next digit (2) from the dividend after 4, then repeat: 42 / 5

Let's proceed to step 6:
If we divide 42 by 5, we get 8 and a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 44468.0
If we take 40 away from 42, 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.

Advancing to step 7:
20 divided by 5 is 4 with a remainder of 0.
Use 4 as the next digit of our solution. 
Result so far: 44468.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.

Going ahead to step 8:
5 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 44468.4
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.

Going ahead 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: 44468.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 44468.4, and the remainder is 0.0.