We look at the division of 40781401 by 343 
Our goal is to divide 40781401 by 343.

Let's proceed to step 1:
The number 343 fits into 4 0 times, leaving a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 4 and we're left with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 343

Let's proceed to step 2:
When dividing 40 by 343, we get 0 with a remainder of 40.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 40 leaves us with 40.
Append the next digit (7) from the dividend to 40 and continue with: 407 / 343

Going ahead to step 3:
The number 343 fits into 407 1 times, leaving a remainder of 64.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 343 away from 407, we end up with 64.
Include the next digit (8) from the dividend after 64, then repeat: 648 / 343

Moving on to step 4:
When dividing 648 by 343, we get 1 with a remainder of 305.
Write down 1 as next digit of the result. 
Result so far: 11.0
If we take 343 away from 648, we end up with 305.
Include the next digit (1) from the dividend after 305, then repeat: 3051 / 343

Advancing to step 5:
3051 divided by 343 is 8 with a remainder of 307.
Record the quotient 8 as the next digit in the result. 
Result so far: 118.0
If we take 2744 away from 3051, we end up with 307.
Take the next digit (4) from the dividend and append it to 307, then repeat: 3074 / 343

Going ahead to step 6:
343 can be fit into 3074 8 times, resulting in a remainder of 330.
Use 8 as the next digit of our solution. 
Result so far: 1188.0
Subtract 2744 from 3074 to get 330.
Append the next digit (0) from the dividend to 330 and continue with: 3300 / 343

On to step 7:
3300 divided by 343 is 9 with a remainder of 213.
Put 9 as the next digit of the answer. 
Result so far: 11889.0
Subtracting 3087 from 3300 leaves us with 213.
Bring next digit (1) of the dividend behind the 213 and repeat the process: 2131 / 343

Let's proceed to step 8:
343 goes into 2131 6 times with a remainder of 73.
Record the quotient 6 as the next digit in the result. 
Result so far: 118896.0
If we subtract 2058 from 2131, we get 73.
Since there are no more digits in the dividend, we add a zero to the remainder making it 730, and continue the process.

Moving on to step 9:
343 can be fit into 730 2 times, resulting in a remainder of 44.
Put 2 as the next digit of the answer. 
Result so far: 118896.2
Deduct 686 from 730 and we're left with 44.
Since there are no more digits in the dividend, we add a zero to the remainder making it 440, and continue the process.

Let's proceed to step 10:
When dividing 440 by 343, we get 1 with a remainder of 97.
Put 1 as the next digit of the answer. 
Result so far: 118896.21
Subtracting 343 from 440 leaves us with 97.
Since there are no more digits in the dividend, we add a zero to the remainder making it 970, and continue the process.

Let's proceed to step 11:
The number 343 fits into 970 2 times, leaving a remainder of 284.
Record the quotient 2 as the next digit in the result. 
Result so far: 118896.212
If we subtract 686 from 970, we get 284.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2840, and continue the process.

On to step 12:
The number 343 fits into 2840 8 times, leaving a remainder of 96.
Record the quotient 8 as the next digit in the result. 
Result so far: 118896.2128
If we subtract 2744 from 2840, we get 96.
Since there are no more digits in the dividend, we add a zero to the remainder making it 960, and continue the process.

Advancing to step 13:
When dividing 960 by 343, we get 2 with a remainder of 274.
Record the quotient 2 as the next digit in the result. 
Result so far: 118896.21282
Subtracting 686 from 960 leaves us with 274.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Moving on to step 14:
The number 343 fits into 2740 7 times, leaving a remainder of 339.
Put 7 as the next digit of the answer. 
Result so far: 118896.212827
If we take 2401 away from 2740, we end up with 339.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3390, and continue the process.

Moving on to step 15:
3390 divided by 343 is 9 with a remainder of 303.
Record the quotient 9 as the next digit in the result. 
Result so far: 118896.2128279
If we take 3087 away from 3390, we end up with 303.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3030, and continue the process.

On to step 16:
The number 343 fits into 3030 8 times, leaving a remainder of 286.
Put 8 as the next digit of the answer. 
Result so far: 118896.21282798
The remainder is 286 after subtracting 2744 from 3030.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2860, and continue the process.

After the division, we end up with 118896.21282798 and a remainder of 2.86e-07.