Let's divide 291382 by 4
The aim is to understand the frequency of 4 in 291382.

Let's proceed to step 1:
If we divide 2 by 4, we get 0 and a remainder of 2.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 2 leaves us with 2.
Append the next digit (9) from the dividend to 2 and continue with: 29 / 4

On to step 2:
When dividing 29 by 4, we get 7 with a remainder of 1.
Put 7 as the next digit of the answer. 
Result so far: 7.0
Subtract 28 from 29 to get 1.
Include the next digit (1) from the dividend after 1, then repeat: 11 / 4

Step 3:
When dividing 11 by 4, we get 2 with a remainder of 3.
Use 2 as the next digit of our solution. 
Result so far: 72.0
Subtracting 8 from 11 leaves us with 3.
Include the next digit (3) from the dividend after 3, then repeat: 33 / 4

Going ahead to step 4:
4 can be fit into 33 8 times, resulting in a remainder of 1.
Record the quotient 8 as the next digit in the result. 
Result so far: 728.0
If we subtract 32 from 33, we get 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 4

Let's proceed to step 5:
18 divided by 4 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 7284.0
If we take 16 away from 18, we end up with 2.
Bring next digit (2) of the dividend behind the 2 and repeat the process: 22 / 4

Moving on to step 6:
4 can be fit into 22 5 times, resulting in a remainder of 2.
The number 5 becomes the next digit in our result. 
Result so far: 72845.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.

Going ahead to step 7:
4 goes into 20 5 times with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 72845.5
Subtracting 20 from 20 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 8:
If we divide 0 by 4, we get 0 and a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 72845.5
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.

Advancing to step 9:
4 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: 72845.5
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 72845.5 with a remaining 0.0.