625071 divided by 40 
We want to divide 625071 by 40.

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

Let's proceed to step 2:
62 divided by 40 is 1 with a remainder of 22.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtract 40 from 62 to get 22.
Bring next digit (5) of the dividend behind the 22 and repeat the process: 225 / 40

Moving on to step 3:
40 goes into 225 5 times with a remainder of 25.
Use 5 as the next digit of our solution. 
Result so far: 15.0
Subtract 200 from 225 to get 25.
Grab the next digit (0) from the dividend, add it to 25, then carry on: 250 / 40

Advancing to step 4:
250 divided by 40 is 6 with a remainder of 10.
The number 6 becomes the next digit in our result. 
Result so far: 156.0
Deduct 240 from 250 and we're left with 10.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 40

Let's proceed to step 5:
When dividing 107 by 40, we get 2 with a remainder of 27.
Write down 2 as next digit of the result. 
Result so far: 1562.0
Subtract 80 from 107 to get 27.
Grab the next digit (1) from the dividend, add it to 27, then carry on: 271 / 40

On to step 6:
271 divided by 40 is 6 with a remainder of 31.
Record the quotient 6 as the next digit in the result. 
Result so far: 15626.0
If we take 240 away from 271, 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.

On to step 7:
310 divided by 40 is 7 with a remainder of 30.
Use 7 as the next digit of our solution. 
Result so far: 15626.7
Subtracting 280 from 310 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.

Advancing to step 8:
The number 40 fits into 300 7 times, leaving a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 15626.77
The remainder is 20 after subtracting 280 from 300.
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 15626.77, and the remainder is 0.02.