Let's divide 671355 by 40
We want to figure out the number of times 671355 can be divided by 40.

Advancing to step 1:
6 divided by 40 is 0 with a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 6, we get 6.
Fetch the next digit (7) from the dividend, attach it to 6 and continue: 67 / 40

Advancing to step 2:
When dividing 67 by 40, we get 1 with a remainder of 27.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 27 after subtracting 40 from 67.
Include the next digit (1) from the dividend after 27, then repeat: 271 / 40

On to step 3:
When dividing 271 by 40, we get 6 with a remainder of 31.
Record the quotient 6 as the next digit in the result. 
Result so far: 16.0
Subtract 240 from 271 to get 31.
Append the next digit (3) from the dividend to 31 and continue with: 313 / 40

Moving on to step 4:
When dividing 313 by 40, we get 7 with a remainder of 33.
Record the quotient 7 as the next digit in the result. 
Result so far: 167.0
Subtract 280 from 313 to get 33.
Bring next digit (5) of the dividend behind the 33 and repeat the process: 335 / 40

On to step 5:
40 goes into 335 8 times with a remainder of 15.
Write down 8 as next digit of the result. 
Result so far: 1678.0
If we subtract 320 from 335, we get 15.
Include the next digit (5) from the dividend after 15, then repeat: 155 / 40

Step 6:
When dividing 155 by 40, we get 3 with a remainder of 35.
Record the quotient 3 as the next digit in the result. 
Result so far: 16783.0
Subtract 120 from 155 to get 35.
Since there are no more digits in the dividend, we add a zero to the remainder making it 350, and continue the process.

On to step 7:
40 goes into 350 8 times with a remainder of 30.
Use 8 as the next digit of our solution. 
Result so far: 16783.8
If we take 320 away from 350, we end up 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.

Step 8:
When dividing 300 by 40, we get 7 with a remainder of 20.
Record the quotient 7 as the next digit in the result. 
Result so far: 16783.87
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.

Advancing to step 9:
The number 40 fits into 200 5 times, leaving a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 16783.875
The remainder is 0 after subtracting 200 from 200.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Moving on to 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: 16783.875
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.

Step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
The next digit of our result is 0. 
Result so far: 16783.875
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.

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