We're dividing 403838 by 40 
Our goal is to divide 403838 by 40.

On to step 1:
When dividing 4 by 40, we get 0 with a remainder of 4.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 4, we get 4.
Include the next digit (0) from the dividend after 4, then repeat: 40 / 40

Let's proceed to step 2:
If we divide 40 by 40, we get 1 and a remainder of 0.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we subtract 40 from 40, we get 0.
Fetch the next digit (3) from the dividend, attach it to 0 and continue: 3 / 40

Going ahead to step 3:
If we divide 3 by 40, we get 0 and a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 3 and we're left with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 40

Step 4:
40 can be fit into 38 0 times, resulting in a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 100.0
The remainder is 38 after subtracting 0 from 38.
Bring next digit (3) of the dividend behind the 38 and repeat the process: 383 / 40

Let's proceed to step 5:
40 goes into 383 9 times with a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 1009.0
If we subtract 360 from 383, we get 23.
Include the next digit (8) from the dividend after 23, then repeat: 238 / 40

Step 6:
40 goes into 238 5 times with a remainder of 38.
Use 5 as the next digit of our solution. 
Result so far: 10095.0
Subtracting 200 from 238 leaves us with 38.
Since there are no more digits in the dividend, we add a zero to the remainder making it 380, and continue the process.

On to step 7:
40 goes into 380 9 times with a remainder of 20.
The next digit of our result is 9. 
Result so far: 10095.9
Subtract 360 from 380 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On to step 8:
When dividing 200 by 40, we get 5 with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 10095.95
Subtract 200 from 200 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Step 9:
When dividing 0 by 40, we get 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 10095.95
The remainder is 0 after subtracting 0 from 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Let's proceed to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 10095.95
If we subtract 0 from 0, we get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 10095.95 with a remaining 0.0.