1585881 divided by 506 
Our goal is to divide 1585881 by 506.

Step 1:
The number 506 fits into 1 0 times, leaving a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Take the next digit (5) from the dividend and append it to 1, then repeat: 15 / 506

Going ahead to step 2:
15 divided by 506 is 0 with a remainder of 15.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 15, we end up with 15.
Append the next digit (8) from the dividend to 15 and continue with: 158 / 506

Advancing to step 3:
If we divide 158 by 506, we get 0 and a remainder of 158.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 158 after subtracting 0 from 158.
Append the next digit (5) from the dividend to 158 and continue with: 1585 / 506

Advancing to step 4:
506 can be fit into 1585 3 times, resulting in a remainder of 67.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Subtracting 1518 from 1585 leaves us with 67.
Bring next digit (8) of the dividend behind the 67 and repeat the process: 678 / 506

Moving on to step 5:
If we divide 678 by 506, we get 1 and a remainder of 172.
Put 1 as the next digit of the answer. 
Result so far: 31.0
Subtract 506 from 678 to get 172.
Take the next digit (8) from the dividend and append it to 172, then repeat: 1728 / 506

Step 6:
The number 506 fits into 1728 3 times, leaving a remainder of 210.
Put 3 as the next digit of the answer. 
Result so far: 313.0
If we subtract 1518 from 1728, we get 210.
Bring next digit (1) of the dividend behind the 210 and repeat the process: 2101 / 506

On to step 7:
2101 divided by 506 is 4 with a remainder of 77.
Record the quotient 4 as the next digit in the result. 
Result so far: 3134.0
Subtracting 2024 from 2101 leaves us with 77.
Since there are no more digits in the dividend, we add a zero to the remainder making it 770, and continue the process.

Step 8:
506 goes into 770 1 times with a remainder of 264.
The next digit of our result is 1. 
Result so far: 3134.1
If we subtract 506 from 770, we get 264.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2640, and continue the process.

Let's proceed to step 9:
2640 divided by 506 is 5 with a remainder of 110.
Record the quotient 5 as the next digit in the result. 
Result so far: 3134.15
Subtracting 2530 from 2640 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

Moving on to step 10:
1100 divided by 506 is 2 with a remainder of 88.
Record the quotient 2 as the next digit in the result. 
Result so far: 3134.152
If we subtract 1012 from 1100, we get 88.
Since there are no more digits in the dividend, we add a zero to the remainder making it 880, and continue the process.

Advancing to step 11:
880 divided by 506 is 1 with a remainder of 374.
Write down 1 as next digit of the result. 
Result so far: 3134.1521
Subtract 506 from 880 to get 374.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3740, and continue the process.

Going ahead to step 12:
When dividing 3740 by 506, we get 7 with a remainder of 198.
Put 7 as the next digit of the answer. 
Result so far: 3134.15217
Subtract 3542 from 3740 to get 198.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1980, and continue the process.

Moving on to step 13:
1980 divided by 506 is 3 with a remainder of 462.
Record the quotient 3 as the next digit in the result. 
Result so far: 3134.152173
Subtract 1518 from 1980 to get 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Let's proceed to step 14:
506 goes into 4620 9 times with a remainder of 66.
The number 9 becomes the next digit in our result. 
Result so far: 3134.1521739
If we take 4554 away from 4620, we end up with 66.
Since there are no more digits in the dividend, we add a zero to the remainder making it 660, and continue the process.

Step 15:
660 divided by 506 is 1 with a remainder of 154.
Record the quotient 1 as the next digit in the result. 
Result so far: 3134.15217391
If we subtract 506 from 660, we get 154.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1540, and continue the process.

The quotient of the division is 3134.15217391, and the remainder is 1.54e-07.