Let's divide 124863 by 40
We want to divide 124863 by 40.

Let's proceed to step 1:
1 divided by 40 is 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Fetch the next digit (2) from the dividend, attach it to 1 and continue: 12 / 40

Going ahead to step 2:
The number 40 fits into 12 0 times, leaving a remainder of 12.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 12, we end up with 12.
Fetch the next digit (4) from the dividend, attach it to 12 and continue: 124 / 40

On to step 3:
40 can be fit into 124 3 times, resulting in a remainder of 4.
Use 3 as the next digit of our solution. 
Result so far: 3.0
Subtract 120 from 124 to get 4.
Take the next digit (8) from the dividend and append it to 4, then repeat: 48 / 40

Advancing to step 4:
When dividing 48 by 40, we get 1 with a remainder of 8.
Write down 1 as next digit of the result. 
Result so far: 31.0
Subtract 40 from 48 to get 8.
Append the next digit (6) from the dividend to 8 and continue with: 86 / 40

On to step 5:
40 can be fit into 86 2 times, resulting in a remainder of 6.
The next digit of our result is 2. 
Result so far: 312.0
If we take 80 away from 86, we end up with 6.
Include the next digit (3) from the dividend after 6, then repeat: 63 / 40

Going ahead to step 6:
When dividing 63 by 40, we get 1 with a remainder of 23.
Record the quotient 1 as the next digit in the result. 
Result so far: 3121.0
The remainder is 23 after subtracting 40 from 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

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

Moving on to step 8:
40 goes into 300 7 times with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 3121.57
If we take 280 away from 300, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 3121.575
Deduct 200 from 200 and we're left with 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 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 3121.575
Subtracting 0 from 0 leaves us with 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 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 3121.575
Subtract 0 from 0 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.

The final outcome is 3121.575, with a leftover of 0.0.