We're dividing 40066 by 91 
We want to divide 40066 by 91.

Moving on to step 1:
4 divided by 91 is 0 with a remainder of 4.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 4, we end up with 4.
Fetch the next digit (0) from the dividend, attach it to 4 and continue: 40 / 91

Going ahead to step 2:
When dividing 40 by 91, we get 0 with a remainder of 40.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Take the next digit (0) from the dividend and append it to 40, then repeat: 400 / 91

Moving on to step 3:
91 goes into 400 4 times with a remainder of 36.
Put 4 as the next digit of the answer. 
Result so far: 4.0
The remainder is 36 after subtracting 364 from 400.
Bring next digit (6) of the dividend behind the 36 and repeat the process: 366 / 91

On to step 4:
If we divide 366 by 91, we get 4 and a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 44.0
If we subtract 364 from 366, we get 2.
Grab the next digit (6) from the dividend, add it to 2, then carry on: 26 / 91

Step 5:
The number 91 fits into 26 0 times, leaving a remainder of 26.
The next digit of our result is 0. 
Result so far: 440.0
The remainder is 26 after subtracting 0 from 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Going ahead to step 6:
If we divide 260 by 91, we get 2 and a remainder of 78.
Record the quotient 2 as the next digit in the result. 
Result so far: 440.2
Subtract 182 from 260 to get 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Advancing to step 7:
When dividing 780 by 91, we get 8 with a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 440.28
If we subtract 728 from 780, we get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

Let's proceed to step 8:
When dividing 520 by 91, we get 5 with a remainder of 65.
Record the quotient 5 as the next digit in the result. 
Result so far: 440.285
Subtract 455 from 520 to get 65.
Since there are no more digits in the dividend, we add a zero to the remainder making it 650, and continue the process.

Step 9:
91 can be fit into 650 7 times, resulting in a remainder of 13.
Write down 7 as next digit of the result. 
Result so far: 440.2857
The remainder is 13 after subtracting 637 from 650.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

On to step 10:
If we divide 130 by 91, we get 1 and a remainder of 39.
The next digit of our result is 1. 
Result so far: 440.28571
Subtracting 91 from 130 leaves us with 39.
Since there are no more digits in the dividend, we add a zero to the remainder making it 390, and continue the process.

Advancing to step 11:
When dividing 390 by 91, we get 4 with a remainder of 26.
Write down 4 as next digit of the result. 
Result so far: 440.285714
Subtracting 364 from 390 leaves us with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Advancing to step 12:
260 divided by 91 is 2 with a remainder of 78.
Record the quotient 2 as the next digit in the result. 
Result so far: 440.2857142
If we take 182 away from 260, we end up with 78.
Since there are no more digits in the dividend, we add a zero to the remainder making it 780, and continue the process.

Moving on to step 13:
The number 91 fits into 780 8 times, leaving a remainder of 52.
Put 8 as the next digit of the answer. 
Result so far: 440.28571428
Subtract 728 from 780 to get 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 520, and continue the process.

The final outcome is 440.28571428, with a leftover of 5.2e-08.