We look at the division of 580152 by 4 
The aim is to understand the frequency of 4 in 580152.

Moving on to step 1:
5 divided by 4 is 1 with a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 4 from 5, we get 1.
Take the next digit (8) from the dividend and append it to 1, then repeat: 18 / 4

Step 2:
4 can be fit into 18 4 times, resulting in a remainder of 2.
Put 4 as the next digit of the answer. 
Result so far: 14.0
Subtract 16 from 18 to get 2.
Bring next digit (0) of the dividend behind the 2 and repeat the process: 20 / 4

Let's proceed to step 3:
20 divided by 4 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 145.0
Subtract 20 from 20 to get 0.
Append the next digit (1) from the dividend to 0 and continue with: 1 / 4

Advancing to step 4:
The number 4 fits into 1 0 times, leaving a remainder of 1.
The number 0 becomes the next digit in our result. 
Result so far: 1450.0
Subtract 0 from 1 to get 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 4

Going ahead to step 5:
4 can be fit into 15 3 times, resulting in a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 14503.0
If we take 12 away from 15, we end up with 3.
Fetch the next digit (2) from the dividend, attach it to 3 and continue: 32 / 4

Step 6:
When dividing 32 by 4, we get 8 with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 145038.0
Subtract 32 from 32 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.

On to step 7:
0 divided by 4 is 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 145038.0
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.

Step 8:
If we divide 0 by 4, we get 0 and a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 145038.0
Deduct 0 from 0 and we're left 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.

In conclusion, the division gives 145038.0 with a balance of 0.0.