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

Let's proceed to step 1:
The number 4 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 1 leaves us with 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 4

Step 2:
When dividing 15 by 4, we get 3 with a remainder of 3.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 12 from 15 to get 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 4

Going ahead to step 3:
The number 4 fits into 38 9 times, leaving a remainder of 2.
Write down 9 as next digit of the result. 
Result so far: 39.0
Deduct 36 from 38 and we're left with 2.
Include the next digit (1) from the dividend after 2, then repeat: 21 / 4

On to step 4:
4 can be fit into 21 5 times, resulting in a remainder of 1.
Write down 5 as next digit of the result. 
Result so far: 395.0
Subtract 20 from 21 to get 1.
Include the next digit (5) from the dividend after 1, then repeat: 15 / 4

Going ahead to step 5:
4 goes into 15 3 times with a remainder of 3.
Write down 3 as next digit of the result. 
Result so far: 3953.0
Deduct 12 from 15 and we're left with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 4

Going ahead to step 6:
4 goes into 38 9 times with a remainder of 2.
Use 9 as the next digit of our solution. 
Result so far: 39539.0
If we take 36 away from 38, we end up with 2.
Take the next digit (0) from the dividend and append it to 2, then repeat: 20 / 4

Advancing to step 7:
4 goes into 20 5 times with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 395395.0
Deduct 20 from 20 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.

Moving on to step 8:
The number 4 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 395395.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.

On to step 9:
When dividing 0 by 4, we get 0 with a remainder of 0.
The next digit of our result is 0. 
Result so far: 395395.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 final result is 395395.0 with a remainder of 0.0.