We look at the division of 40504906 by 985 
We want to divide 40504906 by 985.

Step 1:
985 can be fit into 4 0 times, resulting in a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 985

Step 2:
If we divide 40 by 985, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 40, we get 40.
Fetch the next digit (5) from the dividend, attach it to 40 and continue: 405 / 985

Let's proceed to step 3:
If we divide 405 by 985, we get 0 and a remainder of 405.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 405, we get 405.
Take the next digit (0) from the dividend and append it to 405, then repeat: 4050 / 985

Let's proceed to step 4:
4050 divided by 985 is 4 with a remainder of 110.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Deduct 3940 from 4050 and we're left with 110.
Append the next digit (4) from the dividend to 110 and continue with: 1104 / 985

Advancing to step 5:
If we divide 1104 by 985, we get 1 and a remainder of 119.
The next digit of our result is 1. 
Result so far: 41.0
Subtracting 985 from 1104 leaves us with 119.
Bring next digit (9) of the dividend behind the 119 and repeat the process: 1199 / 985

On to step 6:
The number 985 fits into 1199 1 times, leaving a remainder of 214.
The next digit of our result is 1. 
Result so far: 411.0
Deduct 985 from 1199 and we're left with 214.
Append the next digit (0) from the dividend to 214 and continue with: 2140 / 985

Going ahead to step 7:
985 can be fit into 2140 2 times, resulting in a remainder of 170.
Use 2 as the next digit of our solution. 
Result so far: 4112.0
Deduct 1970 from 2140 and we're left with 170.
Fetch the next digit (6) from the dividend, attach it to 170 and continue: 1706 / 985

Going ahead to step 8:
985 goes into 1706 1 times with a remainder of 721.
The number 1 becomes the next digit in our result. 
Result so far: 41121.0
Subtract 985 from 1706 to get 721.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7210, and continue the process.

Let's proceed to step 9:
If we divide 7210 by 985, we get 7 and a remainder of 315.
Put 7 as the next digit of the answer. 
Result so far: 41121.7
If we take 6895 away from 7210, we end up with 315.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3150, and continue the process.

Going ahead to step 10:
When dividing 3150 by 985, we get 3 with a remainder of 195.
The next digit of our result is 3. 
Result so far: 41121.73
Deduct 2955 from 3150 and we're left with 195.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1950, and continue the process.

Step 11:
If we divide 1950 by 985, we get 1 and a remainder of 965.
Write down 1 as next digit of the result. 
Result so far: 41121.731
Subtract 985 from 1950 to get 965.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9650, and continue the process.

Moving on to step 12:
9650 divided by 985 is 9 with a remainder of 785.
The number 9 becomes the next digit in our result. 
Result so far: 41121.7319
Deduct 8865 from 9650 and we're left with 785.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7850, and continue the process.

Advancing to step 13:
The number 985 fits into 7850 7 times, leaving a remainder of 955.
Record the quotient 7 as the next digit in the result. 
Result so far: 41121.73197
Deduct 6895 from 7850 and we're left with 955.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9550, and continue the process.

Going ahead to step 14:
The number 985 fits into 9550 9 times, leaving a remainder of 685.
Write down 9 as next digit of the result. 
Result so far: 41121.731979
Deduct 8865 from 9550 and we're left with 685.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6850, and continue the process.

Advancing to step 15:
If we divide 6850 by 985, we get 6 and a remainder of 940.
Record the quotient 6 as the next digit in the result. 
Result so far: 41121.7319796
The remainder is 940 after subtracting 5910 from 6850.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9400, and continue the process.

On to step 16:
9400 divided by 985 is 9 with a remainder of 535.
Use 9 as the next digit of our solution. 
Result so far: 41121.73197969
If we take 8865 away from 9400, we end up 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.

The quotient of the division is 41121.73197969, and the remainder is 5.35e-07.