40390164 divided by 916 
Our goal is to divide 40390164 by 916.

Moving on to step 1:
916 goes into 4 0 times with a remainder of 4.
Write down 0 as next digit of the result. 
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 / 916

Step 2:
When dividing 40 by 916, we get 0 with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (3) from the dividend and append it to 40, then repeat: 403 / 916

Step 3:
When dividing 403 by 916, we get 0 with a remainder of 403.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 403 and we're left with 403.
Grab the next digit (9) from the dividend, add it to 403, then carry on: 4039 / 916

On to step 4:
If we divide 4039 by 916, we get 4 and a remainder of 375.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
The remainder is 375 after subtracting 3664 from 4039.
Fetch the next digit (0) from the dividend, attach it to 375 and continue: 3750 / 916

Let's proceed to step 5:
3750 divided by 916 is 4 with a remainder of 86.
Put 4 as the next digit of the answer. 
Result so far: 44.0
Subtracting 3664 from 3750 leaves us with 86.
Append the next digit (1) from the dividend to 86 and continue with: 861 / 916

Step 6:
861 divided by 916 is 0 with a remainder of 861.
The next digit of our result is 0. 
Result so far: 440.0
The remainder is 861 after subtracting 0 from 861.
Append the next digit (6) from the dividend to 861 and continue with: 8616 / 916

Moving on to step 7:
When dividing 8616 by 916, we get 9 with a remainder of 372.
Use 9 as the next digit of our solution. 
Result so far: 4409.0
Deduct 8244 from 8616 and we're left with 372.
Grab the next digit (4) from the dividend, add it to 372, then carry on: 3724 / 916

Let's proceed to step 8:
If we divide 3724 by 916, we get 4 and a remainder of 60.
Use 4 as the next digit of our solution. 
Result so far: 44094.0
The remainder is 60 after subtracting 3664 from 3724.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

Step 9:
600 divided by 916 is 0 with a remainder of 600.
Record the quotient 0 as the next digit in the result. 
Result so far: 44094.0
If we subtract 0 from 600, we get 600.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6000, and continue the process.

Let's proceed to step 10:
If we divide 6000 by 916, we get 6 and a remainder of 504.
Record the quotient 6 as the next digit in the result. 
Result so far: 44094.06
If we take 5496 away from 6000, we end up with 504.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5040, and continue the process.

On to step 11:
916 goes into 5040 5 times with a remainder of 460.
The number 5 becomes the next digit in our result. 
Result so far: 44094.065
The remainder is 460 after subtracting 4580 from 5040.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4600, and continue the process.

Step 12:
916 can be fit into 4600 5 times, resulting in a remainder of 20.
Write down 5 as next digit of the result. 
Result so far: 44094.0655
Deduct 4580 from 4600 and we're left 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.

Our division results in 44094.0655 with a remaining 0.0002.