We divide 747508 by 40
We want to figure out the number of times 747508 can be divided by 40.

On to step 1:
40 goes into 7 0 times with a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 7, we end up with 7.
Bring next digit (4) of the dividend behind the 7 and repeat the process: 74 / 40

Advancing to step 2:
74 divided by 40 is 1 with a remainder of 34.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 34 after subtracting 40 from 74.
Bring next digit (7) of the dividend behind the 34 and repeat the process: 347 / 40

Advancing to step 3:
347 divided by 40 is 8 with a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 18.0
Subtract 320 from 347 to get 27.
Include the next digit (5) from the dividend after 27, then repeat: 275 / 40

Moving on to step 4:
The number 40 fits into 275 6 times, leaving a remainder of 35.
The number 6 becomes the next digit in our result. 
Result so far: 186.0
Deduct 240 from 275 and we're left with 35.
Append the next digit (0) from the dividend to 35 and continue with: 350 / 40

On to step 5:
350 divided by 40 is 8 with a remainder of 30.
The number 8 becomes the next digit in our result. 
Result so far: 1868.0
Subtracting 320 from 350 leaves us with 30.
Append the next digit (8) from the dividend to 30 and continue with: 308 / 40

Advancing to step 6:
40 goes into 308 7 times with a remainder of 28.
The next digit of our result is 7. 
Result so far: 18687.0
If we take 280 away from 308, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

On to step 7:
280 divided by 40 is 7 with a remainder of 0.
Record the quotient 7 as the next digit in the result. 
Result so far: 18687.7
Deduct 280 from 280 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.

Going ahead to step 8:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 18687.7
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.

On to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Record the quotient 0 as the next digit in the result. 
Result so far: 18687.7
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 final outcome is 18687.7, with a leftover of 0.0.