Let's divide 582512 by 4
Let's see how many times 4 fits into 582512.

Let's proceed to step 1:
When dividing 5 by 4, we get 1 with a remainder of 1.
Use 1 as the next digit of our solution. 
Result so far: 1.0
The remainder is 1 after subtracting 4 from 5.
Include the next digit (8) from the dividend after 1, then repeat: 18 / 4

On to 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
Subtracting 16 from 18 leaves us with 2.
Fetch the next digit (2) from the dividend, attach it to 2 and continue: 22 / 4

Going ahead to step 3:
4 can be fit into 22 5 times, resulting in a remainder of 2.
Use 5 as the next digit of our solution. 
Result so far: 145.0
Deduct 20 from 22 and we're left with 2.
Take the next digit (5) from the dividend and append it to 2, then repeat: 25 / 4

Let's proceed to step 4:
When dividing 25 by 4, we get 6 with a remainder of 1.
Use 6 as the next digit of our solution. 
Result so far: 1456.0
Subtract 24 from 25 to get 1.
Fetch the next digit (1) from the dividend, attach it to 1 and continue: 11 / 4

On to step 5:
4 goes into 11 2 times with a remainder of 3.
The next digit of our result is 2. 
Result so far: 14562.0
Subtract 8 from 11 to get 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 4

Moving on to step 6:
4 goes into 32 8 times with a remainder of 0.
Use 8 as the next digit of our solution. 
Result so far: 145628.0
Subtracting 32 from 32 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.

Let's proceed to step 7:
0 divided by 4 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 145628.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.

Moving on 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: 145628.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 145628.0, and the remainder is 0.0.