491158 divided by 40 
We're looking to find how many times 40 goes into 491158.

Let's proceed to step 1:
If we divide 4 by 40, we get 0 and a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Include the next digit (9) from the dividend after 4, then repeat: 49 / 40

On to step 2:
49 divided by 40 is 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 40 away from 49, we end up with 9.
Fetch the next digit (1) from the dividend, attach it to 9 and continue: 91 / 40

Let's proceed to step 3:
When dividing 91 by 40, we get 2 with a remainder of 11.
The number 2 becomes the next digit in our result. 
Result so far: 12.0
Subtract 80 from 91 to get 11.
Append the next digit (1) from the dividend to 11 and continue with: 111 / 40

Advancing to step 4:
When dividing 111 by 40, we get 2 with a remainder of 31.
The next digit of our result is 2. 
Result so far: 122.0
The remainder is 31 after subtracting 80 from 111.
Grab the next digit (5) from the dividend, add it to 31, then carry on: 315 / 40

On to step 5:
315 divided by 40 is 7 with a remainder of 35.
Put 7 as the next digit of the answer. 
Result so far: 1227.0
Subtract 280 from 315 to get 35.
Fetch the next digit (8) from the dividend, attach it to 35 and continue: 358 / 40

Moving on to step 6:
358 divided by 40 is 8 with a remainder of 38.
Write down 8 as next digit of the result. 
Result so far: 12278.0
If we take 320 away from 358, we end up with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

Moving on to step 7:
When dividing 380 by 40, we get 9 with a remainder of 20.
Record the quotient 9 as the next digit in the result. 
Result so far: 12278.9
Subtracting 360 from 380 leaves us with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
200 divided by 40 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 12278.95
Subtracting 200 from 200 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.

On to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 12278.95
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.

Step 10:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The next digit of our result is 0. 
Result so far: 12278.95
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 12278.95 with a remainder of 0.0.