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

Moving on to step 1:
If we divide 6 by 40, we get 0 and a remainder of 6.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 6 after subtracting 0 from 6.
Bring next digit (5) of the dividend behind the 6 and repeat the process: 65 / 40

Moving on to step 2:
40 can be fit into 65 1 times, resulting in a remainder of 25.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
If we take 40 away from 65, we end up with 25.
Bring next digit (3) of the dividend behind the 25 and repeat the process: 253 / 40

Going ahead to step 3:
The number 40 fits into 253 6 times, leaving a remainder of 13.
The number 6 becomes the next digit in our result. 
Result so far: 16.0
Subtracting 240 from 253 leaves us with 13.
Append the next digit (1) from the dividend to 13 and continue with: 131 / 40

On to step 4:
131 divided by 40 is 3 with a remainder of 11.
The number 3 becomes the next digit in our result. 
Result so far: 163.0
If we take 120 away from 131, we end up with 11.
Take the next digit (7) from the dividend and append it to 11, then repeat: 117 / 40

Advancing to step 5:
The number 40 fits into 117 2 times, leaving a remainder of 37.
Put 2 as the next digit of the answer. 
Result so far: 1632.0
Subtracting 80 from 117 leaves us with 37.
Bring next digit (8) of the dividend behind the 37 and repeat the process: 378 / 40

Going ahead to step 6:
The number 40 fits into 378 9 times, leaving a remainder of 18.
Put 9 as the next digit of the answer. 
Result so far: 16329.0
Subtract 360 from 378 to get 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

Advancing to step 7:
180 divided by 40 is 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 16329.4
If we subtract 160 from 180, 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.

Moving on to step 8:
200 divided by 40 is 5 with a remainder of 0.
Record the quotient 5 as the next digit in the result. 
Result so far: 16329.45
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.

Step 9:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 16329.45
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.

Moving on to step 10:
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: 16329.45
If we subtract 0 from 0, we 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 16329.45, and the remainder is 0.0.