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

On to step 1:
When dividing 1 by 40, we get 0 with a remainder of 1.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 1 to get 1.
Include the next digit (6) from the dividend after 1, then repeat: 16 / 40

Step 2:
If we divide 16 by 40, we get 0 and a remainder of 16.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 16 leaves us with 16.
Take the next digit (3) from the dividend and append it to 16, then repeat: 163 / 40

Step 3:
40 can be fit into 163 4 times, resulting in a remainder of 3.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 160 from 163 and we're left with 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 40

Going ahead to step 4:
The number 40 fits into 30 0 times, leaving a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 40.0
Subtract 0 from 30 to get 30.
Grab the next digit (4) from the dividend, add it to 30, then carry on: 304 / 40

Step 5:
40 can be fit into 304 7 times, resulting in a remainder of 24.
Write down 7 as next digit of the result. 
Result so far: 407.0
If we take 280 away from 304, we end up with 24.
Append the next digit (2) from the dividend to 24 and continue with: 242 / 40

On to step 6:
When dividing 242 by 40, we get 6 with a remainder of 2.
Record the quotient 6 as the next digit in the result. 
Result so far: 4076.0
If we take 240 away from 242, we end up with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
When dividing 20 by 40, we get 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 4076.0
Subtracting 0 from 20 leaves us 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.

Let's proceed to step 8:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 4076.05
Subtracting 200 from 200 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.

Going ahead to step 9:
40 goes into 0 0 times with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 4076.05
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.

Going ahead to step 10:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 4076.05
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.

After the division, we end up with 4076.05 and a remainder of 0.0.