Let's divide 466871 by 40
We're looking to find how many times 40 goes into 466871.

Let's proceed to step 1:
40 goes into 4 0 times with a remainder of 4.
The next digit of our result is 0. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (6) from the dividend, add it to 4, then carry on: 46 / 40

Step 2:
When dividing 46 by 40, we get 1 with a remainder of 6.
The next digit of our result is 1. 
Result so far: 1.0
If we subtract 40 from 46, we get 6.
Take the next digit (6) from the dividend and append it to 6, then repeat: 66 / 40

Advancing to step 3:
40 can be fit into 66 1 times, resulting in a remainder of 26.
Write down 1 as next digit of the result. 
Result so far: 11.0
Subtracting 40 from 66 leaves us with 26.
Bring next digit (8) of the dividend behind the 26 and repeat the process: 268 / 40

On to step 4:
When dividing 268 by 40, we get 6 with a remainder of 28.
The number 6 becomes the next digit in our result. 
Result so far: 116.0
Subtract 240 from 268 to get 28.
Grab the next digit (7) from the dividend, add it to 28, then carry on: 287 / 40

Moving on to step 5:
If we divide 287 by 40, we get 7 and a remainder of 7.
Record the quotient 7 as the next digit in the result. 
Result so far: 1167.0
If we subtract 280 from 287, we get 7.
Fetch the next digit (1) from the dividend, attach it to 7 and continue: 71 / 40

Moving on to step 6:
40 can be fit into 71 1 times, resulting in a remainder of 31.
Write down 1 as next digit of the result. 
Result so far: 11671.0
If we take 40 away from 71, we end up with 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Let's proceed to step 7:
40 can be fit into 310 7 times, resulting in a remainder of 30.
The number 7 becomes the next digit in our result. 
Result so far: 11671.7
Subtract 280 from 310 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Going ahead to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 11671.77
Subtract 280 from 300 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.

The quotient of the division is 11671.77, and the remainder is 0.02.