We look at the division of 40572947 by 386 
Let's see how many times 386 fits into 40572947.

Advancing to step 1:
386 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Append the next digit (0) from the dividend to 4 and continue with: 40 / 386

Let's proceed to step 2:
386 goes into 40 0 times with a remainder of 40.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
The remainder is 40 after subtracting 0 from 40.
Append the next digit (5) from the dividend to 40 and continue with: 405 / 386

Advancing to step 3:
If we divide 405 by 386, we get 1 and a remainder of 19.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 386 from 405, we get 19.
Include the next digit (7) from the dividend after 19, then repeat: 197 / 386

Let's proceed to step 4:
The number 386 fits into 197 0 times, leaving a remainder of 197.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtracting 0 from 197 leaves us with 197.
Take the next digit (2) from the dividend and append it to 197, then repeat: 1972 / 386

Let's proceed to step 5:
1972 divided by 386 is 5 with a remainder of 42.
Put 5 as the next digit of the answer. 
Result so far: 105.0
If we take 1930 away from 1972, we end up with 42.
Append the next digit (9) from the dividend to 42 and continue with: 429 / 386

On to step 6:
429 divided by 386 is 1 with a remainder of 43.
The number 1 becomes the next digit in our result. 
Result so far: 1051.0
Subtracting 386 from 429 leaves us with 43.
Append the next digit (4) from the dividend to 43 and continue with: 434 / 386

On to step 7:
386 goes into 434 1 times with a remainder of 48.
The next digit of our result is 1. 
Result so far: 10511.0
If we subtract 386 from 434, we get 48.
Bring next digit (7) of the dividend behind the 48 and repeat the process: 487 / 386

Step 8:
386 goes into 487 1 times with a remainder of 101.
The number 1 becomes the next digit in our result. 
Result so far: 105111.0
Subtracting 386 from 487 leaves us with 101.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1010, and continue the process.

Advancing to step 9:
1010 divided by 386 is 2 with a remainder of 238.
Write down 2 as next digit of the result. 
Result so far: 105111.2
Subtract 772 from 1010 to get 238.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2380, and continue the process.

Let's proceed to step 10:
386 goes into 2380 6 times with a remainder of 64.
Record the quotient 6 as the next digit in the result. 
Result so far: 105111.26
Subtract 2316 from 2380 to get 64.
Since there are no more digits in the dividend, we add a zero to the remainder making it 640, and continue the process.

On to step 11:
386 can be fit into 640 1 times, resulting in a remainder of 254.
Put 1 as the next digit of the answer. 
Result so far: 105111.261
Subtracting 386 from 640 leaves us with 254.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2540, and continue the process.

Going ahead to step 12:
386 goes into 2540 6 times with a remainder of 224.
Use 6 as the next digit of our solution. 
Result so far: 105111.2616
If we subtract 2316 from 2540, we get 224.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2240, and continue the process.

Going ahead to step 13:
The number 386 fits into 2240 5 times, leaving a remainder of 310.
Record the quotient 5 as the next digit in the result. 
Result so far: 105111.26165
Subtract 1930 from 2240 to get 310.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3100, and continue the process.

Let's proceed to step 14:
386 goes into 3100 8 times with a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 105111.261658
Subtracting 3088 from 3100 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 15:
386 goes into 120 0 times with a remainder of 120.
Put 0 as the next digit of the answer. 
Result so far: 105111.261658
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Let's proceed to step 16:
386 goes into 1200 3 times with a remainder of 42.
Put 3 as the next digit of the answer. 
Result so far: 105111.26165803
Subtracting 1158 from 1200 leaves us with 42.
Since there are no more digits in the dividend, we add a zero to the remainder making it 420, and continue the process.

The final outcome is 105111.26165803, with a leftover of 4.2e-08.