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

Advancing to step 1:
When dividing 1 by 40, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (7) of the dividend behind the 1 and repeat the process: 17 / 40

On to step 2:
40 goes into 17 0 times with a remainder of 17.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 17 after subtracting 0 from 17.
Grab the next digit (5) from the dividend, add it to 17, then carry on: 175 / 40

On to step 3:
The number 40 fits into 175 4 times, leaving a remainder of 15.
The number 4 becomes the next digit in our result. 
Result so far: 4.0
Subtracting 160 from 175 leaves us with 15.
Take the next digit (3) from the dividend and append it to 15, then repeat: 153 / 40

Moving on to step 4:
40 goes into 153 3 times with a remainder of 33.
Write down 3 as next digit of the result. 
Result so far: 43.0
Subtracting 120 from 153 leaves us with 33.
Grab the next digit (0) from the dividend, add it to 33, then carry on: 330 / 40

Advancing to step 5:
330 divided by 40 is 8 with a remainder of 10.
Use 8 as the next digit of our solution. 
Result so far: 438.0
The remainder is 10 after subtracting 320 from 330.
Bring next digit (7) of the dividend behind the 10 and repeat the process: 107 / 40

Moving on to step 6:
107 divided by 40 is 2 with a remainder of 27.
The next digit of our result is 2. 
Result so far: 4382.0
Deduct 80 from 107 and we're left with 27.
Since there are no more digits in the dividend, we add a zero to the remainder making it 270, and continue the process.

On to step 7:
270 divided by 40 is 6 with a remainder of 30.
Write down 6 as next digit of the result. 
Result so far: 4382.6
Subtract 240 from 270 to get 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Moving on to step 8:
40 goes into 300 7 times with a remainder of 20.
The number 7 becomes the next digit in our result. 
Result so far: 4382.67
Deduct 280 from 300 and we're left 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.

Moving on to step 9:
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: 4382.675
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:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 4382.675
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.

Going ahead to step 11:
40 goes into 0 0 times with a remainder of 0.
The next digit of our result is 0. 
Result so far: 4382.675
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.

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