We're dividing 40117 by 49 
We want to figure out the number of times 40117 can be divided by 49.

Going ahead to step 1:
4 divided by 49 is 0 with a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 49

On to step 2:
If we divide 40 by 49, we get 0 and a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 40 to get 40.
Append the next digit (1) from the dividend to 40 and continue with: 401 / 49

Going ahead to step 3:
If we divide 401 by 49, we get 8 and a remainder of 9.
The next digit of our result is 8. 
Result so far: 8.0
Deduct 392 from 401 and we're left with 9.
Include the next digit (1) from the dividend after 9, then repeat: 91 / 49

Going ahead to step 4:
The number 49 fits into 91 1 times, leaving a remainder of 42.
Put 1 as the next digit of the answer. 
Result so far: 81.0
The remainder is 42 after subtracting 49 from 91.
Grab the next digit (7) from the dividend, add it to 42, then carry on: 427 / 49

Step 5:
427 divided by 49 is 8 with a remainder of 35.
Record the quotient 8 as the next digit in the result. 
Result so far: 818.0
If we subtract 392 from 427, we get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Advancing to step 6:
350 divided by 49 is 7 with a remainder of 7.
The number 7 becomes the next digit in our result. 
Result so far: 818.7
Deduct 343 from 350 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

On to step 7:
49 goes into 70 1 times with a remainder of 21.
Write down 1 as next digit of the result. 
Result so far: 818.71
Subtract 49 from 70 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Step 8:
49 can be fit into 210 4 times, resulting in a remainder of 14.
The next digit of our result is 4. 
Result so far: 818.714
The remainder is 14 after subtracting 196 from 210.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
The number 49 fits into 140 2 times, leaving a remainder of 42.
Put 2 as the next digit of the answer. 
Result so far: 818.7142
Subtract 98 from 140 to get 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

On to step 10:
420 divided by 49 is 8 with a remainder of 28.
Record the quotient 8 as the next digit in the result. 
Result so far: 818.71428
If we take 392 away from 420, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 11:
49 can be fit into 280 5 times, resulting in a remainder of 35.
Write down 5 as next digit of the result. 
Result so far: 818.714285
Subtract 245 from 280 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

Step 12:
When dividing 350 by 49, we get 7 with a remainder of 7.
Write down 7 as next digit of the result. 
Result so far: 818.7142857
Deduct 343 from 350 and we're left with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 13:
49 can be fit into 70 1 times, resulting in a remainder of 21.
The next digit of our result is 1. 
Result so far: 818.71428571
Deduct 49 from 70 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

The final result is 818.71428571 with a remainder of 2.1e-08.