40778057 divided by 971 
We want to divide 40778057 by 971.

Going ahead to step 1:
971 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.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 971

On to step 2:
If we divide 40 by 971, we get 0 and a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Take the next digit (7) from the dividend and append it to 40, then repeat: 407 / 971

Going ahead to step 3:
407 divided by 971 is 0 with a remainder of 407.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 407 and we're left with 407.
Include the next digit (7) from the dividend after 407, then repeat: 4077 / 971

On to step 4:
4077 divided by 971 is 4 with a remainder of 193.
Record the quotient 4 as the next digit in the result. 
Result so far: 4.0
Subtract 3884 from 4077 to get 193.
Fetch the next digit (8) from the dividend, attach it to 193 and continue: 1938 / 971

Moving on to step 5:
1938 divided by 971 is 1 with a remainder of 967.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
If we subtract 971 from 1938, we get 967.
Grab the next digit (0) from the dividend, add it to 967, then carry on: 9670 / 971

Let's proceed to step 6:
If we divide 9670 by 971, we get 9 and a remainder of 931.
The next digit of our result is 9. 
Result so far: 419.0
Subtracting 8739 from 9670 leaves us with 931.
Grab the next digit (5) from the dividend, add it to 931, then carry on: 9315 / 971

Step 7:
9315 divided by 971 is 9 with a remainder of 576.
The number 9 becomes the next digit in our result. 
Result so far: 4199.0
Subtract 8739 from 9315 to get 576.
Take the next digit (7) from the dividend and append it to 576, then repeat: 5767 / 971

On to step 8:
When dividing 5767 by 971, we get 5 with a remainder of 912.
The next digit of our result is 5. 
Result so far: 41995.0
Subtracting 4855 from 5767 leaves us with 912.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9120, and continue the process.

Going ahead to step 9:
If we divide 9120 by 971, we get 9 and a remainder of 381.
The next digit of our result is 9. 
Result so far: 41995.9
Subtracting 8739 from 9120 leaves us with 381.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3810, and continue the process.

Let's proceed to step 10:
The number 971 fits into 3810 3 times, leaving a remainder of 897.
Use 3 as the next digit of our solution. 
Result so far: 41995.93
Subtract 2913 from 3810 to get 897.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8970, and continue the process.

Step 11:
971 can be fit into 8970 9 times, resulting in a remainder of 231.
Use 9 as the next digit of our solution. 
Result so far: 41995.939
Deduct 8739 from 8970 and we're left with 231.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2310, and continue the process.

Advancing to step 12:
971 goes into 2310 2 times with a remainder of 368.
Use 2 as the next digit of our solution. 
Result so far: 41995.9392
If we take 1942 away from 2310, we end up with 368.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3680, and continue the process.

Step 13:
The number 971 fits into 3680 3 times, leaving a remainder of 767.
The number 3 becomes the next digit in our result. 
Result so far: 41995.93923
Subtract 2913 from 3680 to get 767.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7670, and continue the process.

Let's proceed to step 14:
The number 971 fits into 7670 7 times, leaving a remainder of 873.
The next digit of our result is 7. 
Result so far: 41995.939237
Deduct 6797 from 7670 and we're left with 873.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8730, and continue the process.

On to step 15:
8730 divided by 971 is 8 with a remainder of 962.
Use 8 as the next digit of our solution. 
Result so far: 41995.9392378
Deduct 7768 from 8730 and we're left with 962.
Since there are no more digits in the dividend, we add a zero to the remainder making it 9620, and continue the process.

On to step 16:
971 goes into 9620 9 times with a remainder of 881.
Use 9 as the next digit of our solution. 
Result so far: 41995.93923789
Deduct 8739 from 9620 and we're left with 881.
Since there are no more digits in the dividend, we add a zero to the remainder making it 8810, and continue the process.

Our division results in 41995.93923789 with a remaining 8.81e-07.