We divide 882542 by 4
The aim is to understand the frequency of 4 in 882542.

Advancing to step 1:
4 goes into 8 2 times with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 2.0
If we subtract 8 from 8, we get 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 4

Let's proceed to step 2:
When dividing 8 by 4, we get 2 with a remainder of 0.
Put 2 as the next digit of the answer. 
Result so far: 22.0
Subtracting 8 from 8 leaves us with 0.
Fetch the next digit (2) from the dividend, attach it to 0 and continue: 2 / 4

Advancing to step 3:
The number 4 fits into 2 0 times, leaving a remainder of 2.
Put 0 as the next digit of the answer. 
Result so far: 220.0
Subtract 0 from 2 to get 2.
Append the next digit (5) from the dividend to 2 and continue with: 25 / 4

Moving on to step 4:
When dividing 25 by 4, we get 6 with a remainder of 1.
Record the quotient 6 as the next digit in the result. 
Result so far: 2206.0
Deduct 24 from 25 and we're left with 1.
Bring next digit (4) of the dividend behind the 1 and repeat the process: 14 / 4

Advancing to step 5:
When dividing 14 by 4, we get 3 with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 22063.0
The remainder is 2 after subtracting 12 from 14.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

On to step 6:
4 goes into 22 5 times with a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 220635.0
Deduct 20 from 22 and we're left 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.

On to step 7:
20 divided by 4 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 220635.5
The remainder is 0 after subtracting 20 from 20.
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:
4 goes into 0 0 times with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 220635.5
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.

Step 9:
The number 4 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 220635.5
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.

The final result is 220635.5 with a remainder of 0.0.