596516 divided by 4 
The aim is to understand the frequency of 4 in 596516.

On to step 1:
5 divided by 4 is 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 4 from 5, we get 1.
Append the next digit (9) from the dividend to 1 and continue with: 19 / 4

Let's proceed to step 2:
When dividing 19 by 4, we get 4 with a remainder of 3.
Record the quotient 4 as the next digit in the result. 
Result so far: 14.0
Subtracting 16 from 19 leaves us with 3.
Include the next digit (6) from the dividend after 3, then repeat: 36 / 4

On to step 3:
When dividing 36 by 4, we get 9 with a remainder of 0.
The next digit of our result is 9. 
Result so far: 149.0
Subtract 36 from 36 to get 0.
Take the next digit (5) from the dividend and append it to 0, then repeat: 5 / 4

On to step 4:
If we divide 5 by 4, we get 1 and a remainder of 1.
The next digit of our result is 1. 
Result so far: 1491.0
Subtracting 4 from 5 leaves us with 1.
Take the next digit (1) from the dividend and append it to 1, then repeat: 11 / 4

On to step 5:
The number 4 fits into 11 2 times, leaving a remainder of 3.
Put 2 as the next digit of the answer. 
Result so far: 14912.0
Subtract 8 from 11 to get 3.
Take the next digit (6) from the dividend and append it to 3, then repeat: 36 / 4

Let's proceed to step 6:
4 can be fit into 36 9 times, resulting in a remainder of 0.
Write down 9 as next digit of the result. 
Result so far: 149129.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.

On to step 7:
When dividing 0 by 4, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 149129.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.

Going ahead to step 8:
4 goes into 0 0 times with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 149129.0
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 quotient of the division is 149129.0, and the remainder is 0.0.