We're dividing 18782779 by 585 
We want to divide 18782779 by 585.

Going ahead to step 1:
If we divide 1 by 585, we get 0 and a remainder of 1.
Write down 0 as next digit of the result. 
Result so far: 0.0
The remainder is 1 after subtracting 0 from 1.
Fetch the next digit (8) from the dividend, attach it to 1 and continue: 18 / 585

On to step 2:
The number 585 fits into 18 0 times, leaving a remainder of 18.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 18 and we're left with 18.
Append the next digit (7) from the dividend to 18 and continue with: 187 / 585

Advancing to step 3:
If we divide 187 by 585, we get 0 and a remainder of 187.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 187 after subtracting 0 from 187.
Include the next digit (8) from the dividend after 187, then repeat: 1878 / 585

Going ahead to step 4:
If we divide 1878 by 585, we get 3 and a remainder of 123.
The next digit of our result is 3. 
Result so far: 3.0
If we take 1755 away from 1878, we end up with 123.
Grab the next digit (2) from the dividend, add it to 123, then carry on: 1232 / 585

Step 5:
585 can be fit into 1232 2 times, resulting in a remainder of 62.
Record the quotient 2 as the next digit in the result. 
Result so far: 32.0
Subtracting 1170 from 1232 leaves us with 62.
Grab the next digit (7) from the dividend, add it to 62, then carry on: 627 / 585

Let's proceed to step 6:
627 divided by 585 is 1 with a remainder of 42.
Record the quotient 1 as the next digit in the result. 
Result so far: 321.0
If we subtract 585 from 627, we get 42.
Bring next digit (7) of the dividend behind the 42 and repeat the process: 427 / 585

Let's proceed to step 7:
585 can be fit into 427 0 times, resulting in a remainder of 427.
The number 0 becomes the next digit in our result. 
Result so far: 3210.0
Subtracting 0 from 427 leaves us with 427.
Bring next digit (9) of the dividend behind the 427 and repeat the process: 4279 / 585

Advancing to step 8:
585 goes into 4279 7 times with a remainder of 184.
Put 7 as the next digit of the answer. 
Result so far: 32107.0
If we take 4095 away from 4279, we end up with 184.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1840, and continue the process.

On to step 9:
If we divide 1840 by 585, we get 3 and a remainder of 85.
The next digit of our result is 3. 
Result so far: 32107.3
Subtracting 1755 from 1840 leaves us with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Let's proceed to step 10:
585 goes into 850 1 times with a remainder of 265.
The number 1 becomes the next digit in our result. 
Result so far: 32107.31
If we take 585 away from 850, we end up with 265.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2650, and continue the process.

Moving on to step 11:
The number 585 fits into 2650 4 times, leaving a remainder of 310.
Record the quotient 4 as the next digit in the result. 
Result so far: 32107.314
Subtract 2340 from 2650 to get 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Advancing to step 12:
585 goes into 3100 5 times with a remainder of 175.
Use 5 as the next digit of our solution. 
Result so far: 32107.3145
Subtract 2925 from 3100 to get 175.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1750, and continue the process.

Step 13:
The number 585 fits into 1750 2 times, leaving a remainder of 580.
Use 2 as the next digit of our solution. 
Result so far: 32107.31452
Subtract 1170 from 1750 to get 580.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5800, and continue the process.

On to step 14:
585 goes into 5800 9 times with a remainder of 535.
Put 9 as the next digit of the answer. 
Result so far: 32107.314529
Subtracting 5265 from 5800 leaves us with 535.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5350, and continue the process.

Step 15:
585 can be fit into 5350 9 times, resulting in a remainder of 85.
Use 9 as the next digit of our solution. 
Result so far: 32107.3145299
Deduct 5265 from 5350 and we're left with 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

In conclusion, the division gives 32107.3145299 with a balance of 8.5e-07.