Let's divide 619171 by 40
We want to divide 619171 by 40.

Moving on to step 1:
The number 40 fits into 6 0 times, leaving a remainder of 6.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtract 0 from 6 to get 6.
Bring next digit (1) of the dividend behind the 6 and repeat the process: 61 / 40

Going ahead to step 2:
The number 40 fits into 61 1 times, leaving a remainder of 21.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 61 to get 21.
Fetch the next digit (9) from the dividend, attach it to 21 and continue: 219 / 40

Going ahead to step 3:
219 divided by 40 is 5 with a remainder of 19.
The number 5 becomes the next digit in our result. 
Result so far: 15.0
If we take 200 away from 219, we end up with 19.
Take the next digit (1) from the dividend and append it to 19, then repeat: 191 / 40

Going ahead to step 4:
The number 40 fits into 191 4 times, leaving a remainder of 31.
The number 4 becomes the next digit in our result. 
Result so far: 154.0
If we subtract 160 from 191, we get 31.
Append the next digit (7) from the dividend to 31 and continue with: 317 / 40

Going ahead to step 5:
If we divide 317 by 40, we get 7 and a remainder of 37.
Record the quotient 7 as the next digit in the result. 
Result so far: 1547.0
If we take 280 away from 317, we end up with 37.
Take the next digit (1) from the dividend and append it to 37, then repeat: 371 / 40

Advancing to step 6:
40 can be fit into 371 9 times, resulting in a remainder of 11.
The next digit of our result is 9. 
Result so far: 15479.0
If we subtract 360 from 371, we get 11.
Since there are no more digits in the dividend, we add a zero to the remainder making it 110, and continue the process.

Moving on to step 7:
40 goes into 110 2 times with a remainder of 30.
Use 2 as the next digit of our solution. 
Result so far: 15479.2
Subtracting 80 from 110 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.

On to step 8:
40 can be fit into 300 7 times, resulting in a remainder of 20.
Put 7 as the next digit of the answer. 
Result so far: 15479.27
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.

Going ahead to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 15479.275
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.

Moving on to step 10:
0 divided by 40 is 0 with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 15479.275
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.

Moving on to step 11:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 15479.275
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 15479.275, and the remainder is 0.0.