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

Going ahead to step 1:
The number 585 fits into 4 0 times, leaving a remainder of 4.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Take the next digit (0) from the dividend and append it to 4, then repeat: 40 / 585

Going ahead to step 2:
40 divided by 585 is 0 with a remainder of 40.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Include the next digit (9) from the dividend after 40, then repeat: 409 / 585

Let's proceed to step 3:
When dividing 409 by 585, we get 0 with a remainder of 409.
Write down 0 as next digit of the result. 
Result so far: 0.0
Deduct 0 from 409 and we're left with 409.
Take the next digit (9) from the dividend and append it to 409, then repeat: 4099 / 585

Let's proceed to step 4:
If we divide 4099 by 585, we get 7 and a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 7.0
The remainder is 4 after subtracting 4095 from 4099.
Fetch the next digit (1) from the dividend, attach it to 4 and continue: 41 / 585

Let's proceed to step 5:
When dividing 41 by 585, we get 0 with a remainder of 41.
Put 0 as the next digit of the answer. 
Result so far: 70.0
If we take 0 away from 41, we end up with 41.
Include the next digit (8) from the dividend after 41, then repeat: 418 / 585

Advancing to step 6:
418 divided by 585 is 0 with a remainder of 418.
Write down 0 as next digit of the result. 
Result so far: 700.0
If we take 0 away from 418, we end up with 418.
Grab the next digit (2) from the dividend, add it to 418, then carry on: 4182 / 585

On to step 7:
585 can be fit into 4182 7 times, resulting in a remainder of 87.
The number 7 becomes the next digit in our result. 
Result so far: 7007.0
Subtracting 4095 from 4182 leaves us with 87.
Include the next digit (3) from the dividend after 87, then repeat: 873 / 585

Let's proceed to step 8:
The number 585 fits into 873 1 times, leaving a remainder of 288.
The next digit of our result is 1. 
Result so far: 70071.0
Subtracting 585 from 873 leaves us with 288.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2880, and continue the process.

Moving on to step 9:
585 goes into 2880 4 times with a remainder of 540.
Write down 4 as next digit of the result. 
Result so far: 70071.4
If we subtract 2340 from 2880, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

Let's proceed to step 10:
585 goes into 5400 9 times with a remainder of 135.
Put 9 as the next digit of the answer. 
Result so far: 70071.49
Subtracting 5265 from 5400 leaves us with 135.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

On to step 11:
The number 585 fits into 1350 2 times, leaving a remainder of 180.
Use 2 as the next digit of our solution. 
Result so far: 70071.492
Subtract 1170 from 1350 to get 180.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1800, and continue the process.

Advancing to step 12:
585 goes into 1800 3 times with a remainder of 45.
The next digit of our result is 3. 
Result so far: 70071.4923
If we take 1755 away from 1800, we end up with 45.
Since there are no more digits in the dividend, we add a zero to the remainder making it 450, and continue the process.

Going ahead to step 13:
585 can be fit into 450 0 times, resulting in a remainder of 450.
Write down 0 as next digit of the result. 
Result so far: 70071.4923
If we take 0 away from 450, we end up with 450.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4500, and continue the process.

Advancing to step 14:
585 can be fit into 4500 7 times, resulting in a remainder of 405.
Put 7 as the next digit of the answer. 
Result so far: 70071.492307
Subtract 4095 from 4500 to get 405.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4050, and continue the process.

Going ahead to step 15:
4050 divided by 585 is 6 with a remainder of 540.
Write down 6 as next digit of the result. 
Result so far: 70071.4923076
If we subtract 3510 from 4050, we get 540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5400, and continue the process.

On to step 16:
585 goes into 5400 9 times with a remainder of 135.
Record the quotient 9 as the next digit in the result. 
Result so far: 70071.49230769
The remainder is 135 after subtracting 5265 from 5400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1350, and continue the process.

The quotient of the division is 70071.49230769, and the remainder is 1.35e-07.