Let's divide 626917 by 40
Our goal is to divide 626917 by 40.

Going ahead to step 1:
40 goes into 6 0 times with a remainder of 6.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Fetch the next digit (2) from the dividend, attach it to 6 and continue: 62 / 40

Moving on to step 2:
If we divide 62 by 40, we get 1 and a remainder of 22.
Use 1 as the next digit of our solution. 
Result so far: 1.0
If we subtract 40 from 62, we get 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 40

Moving on to step 3:
The number 40 fits into 226 5 times, leaving a remainder of 26.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 200 away from 226, we end up with 26.
Append the next digit (9) from the dividend to 26 and continue with: 269 / 40

On to step 4:
If we divide 269 by 40, we get 6 and a remainder of 29.
Use 6 as the next digit of our solution. 
Result so far: 156.0
Subtract 240 from 269 to get 29.
Bring next digit (1) of the dividend behind the 29 and repeat the process: 291 / 40

Moving on to step 5:
40 can be fit into 291 7 times, resulting in a remainder of 11.
Write down 7 as next digit of the result. 
Result so far: 1567.0
Deduct 280 from 291 and we're left with 11.
Bring next digit (7) of the dividend behind the 11 and repeat the process: 117 / 40

Moving on to step 6:
117 divided by 40 is 2 with a remainder of 37.
The number 2 becomes the next digit in our result. 
Result so far: 15672.0
The remainder is 37 after subtracting 80 from 117.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Advancing to step 7:
The number 40 fits into 370 9 times, leaving a remainder of 10.
The next digit of our result is 9. 
Result so far: 15672.9
Deduct 360 from 370 and we're left with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
40 goes into 100 2 times with a remainder of 20.
The next digit of our result is 2. 
Result so far: 15672.92
If we subtract 80 from 100, we 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.

On to step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 15672.925
Subtract 200 from 200 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.
Record the quotient 0 as the next digit in the result. 
Result so far: 15672.925
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:
If we divide 0 by 40, we get 0 and a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 15672.925
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.

The quotient of the division is 15672.925, and the remainder is 0.0.