We're dividing 650581 by 40 
Let's see how many times 40 fits into 650581.

On to step 1:
40 goes into 6 0 times with a remainder of 6.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Append the next digit (5) from the dividend to 6 and continue with: 65 / 40

Moving on to step 2:
When dividing 65 by 40, we get 1 with a remainder of 25.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we subtract 40 from 65, we get 25.
Include the next digit (0) from the dividend after 25, then repeat: 250 / 40

Step 3:
40 can be fit into 250 6 times, resulting in a remainder of 10.
Write down 6 as next digit of the result. 
Result so far: 16.0
Deduct 240 from 250 and we're left with 10.
Take the next digit (5) from the dividend and append it to 10, then repeat: 105 / 40

Going ahead to step 4:
40 can be fit into 105 2 times, resulting in a remainder of 25.
Record the quotient 2 as the next digit in the result. 
Result so far: 162.0
If we subtract 80 from 105, we get 25.
Bring next digit (8) of the dividend behind the 25 and repeat the process: 258 / 40

Step 5:
40 goes into 258 6 times with a remainder of 18.
The next digit of our result is 6. 
Result so far: 1626.0
The remainder is 18 after subtracting 240 from 258.
Fetch the next digit (1) from the dividend, attach it to 18 and continue: 181 / 40

Let's proceed to step 6:
When dividing 181 by 40, we get 4 with a remainder of 21.
Use 4 as the next digit of our solution. 
Result so far: 16264.0
Subtract 160 from 181 to get 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

On to step 7:
If we divide 210 by 40, we get 5 and a remainder of 10.
Put 5 as the next digit of the answer. 
Result so far: 16264.5
If we take 200 away from 210, we end up 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.

Let's proceed to step 8:
40 can be fit into 100 2 times, resulting in a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 16264.52
Subtract 80 from 100 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.

Moving on to step 9:
If we divide 200 by 40, we get 5 and a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 16264.525
Deduct 200 from 200 and we're left 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.

On 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: 16264.525
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.
Put 0 as the next digit of the answer. 
Result so far: 16264.525
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.

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