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

On to step 1:
4 goes into 5 1 times with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we take 4 away from 5, we end up with 1.
Grab the next digit (8) from the dividend, add it to 1, then carry on: 18 / 4

Going ahead to step 2:
18 divided by 4 is 4 with a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14.0
The remainder is 2 after subtracting 16 from 18.
Fetch the next digit (8) from the dividend, attach it to 2 and continue: 28 / 4

Going ahead to step 3:
28 divided by 4 is 7 with a remainder of 0.
The next digit of our result is 7. 
Result so far: 147.0
The remainder is 0 after subtracting 28 from 28.
Append the next digit (6) from the dividend to 0 and continue with: 6 / 4

Going ahead to step 4:
The number 4 fits into 6 1 times, leaving a remainder of 2.
Record the quotient 1 as the next digit in the result. 
Result so far: 1471.0
Subtract 4 from 6 to get 2.
Fetch the next digit (3) from the dividend, attach it to 2 and continue: 23 / 4

Let's proceed to step 5:
4 goes into 23 5 times with a remainder of 3.
Record the quotient 5 as the next digit in the result. 
Result so far: 14715.0
Subtracting 20 from 23 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 4

Let's proceed to step 6:
When dividing 36 by 4, we get 9 with a remainder of 0.
Record the quotient 9 as the next digit in the result. 
Result so far: 147159.0
The remainder is 0 after subtracting 36 from 36.
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 7:
4 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 147159.0
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 8:
When dividing 0 by 4, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 147159.0
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.

The final result is 147159.0 with a remainder of 0.0.