40038 divided by 86 
Let's see how many times 86 fits into 40038.

Advancing to step 1:
The number 86 fits into 4 0 times, leaving a remainder of 4.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 4 leaves us with 4.
Bring next digit (0) of the dividend behind the 4 and repeat the process: 40 / 86

Advancing to step 2:
86 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
Deduct 0 from 40 and we're left with 40.
Bring next digit (0) of the dividend behind the 40 and repeat the process: 400 / 86

Step 3:
The number 86 fits into 400 4 times, leaving a remainder of 56.
Use 4 as the next digit of our solution. 
Result so far: 4.0
The remainder is 56 after subtracting 344 from 400.
Grab the next digit (3) from the dividend, add it to 56, then carry on: 563 / 86

Going ahead to step 4:
The number 86 fits into 563 6 times, leaving a remainder of 47.
The next digit of our result is 6. 
Result so far: 46.0
The remainder is 47 after subtracting 516 from 563.
Fetch the next digit (8) from the dividend, attach it to 47 and continue: 478 / 86

Going ahead to step 5:
When dividing 478 by 86, we get 5 with a remainder of 48.
Use 5 as the next digit of our solution. 
Result so far: 465.0
Subtracting 430 from 478 leaves us with 48.
Since there are no more digits in the dividend, we add a zero to the remainder making it 480, and continue the process.

Going ahead to step 6:
480 divided by 86 is 5 with a remainder of 50.
The next digit of our result is 5. 
Result so far: 465.5
Deduct 430 from 480 and we're left with 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 500, and continue the process.

Going ahead to step 7:
86 can be fit into 500 5 times, resulting in a remainder of 70.
Write down 5 as next digit of the result. 
Result so far: 465.55
If we take 430 away from 500, we end up with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

In conclusion, the division gives 465.55 with a balance of 0.07.