We divide 538636 by 40
Let's see how many times 40 fits into 538636.

Going ahead to step 1:
The number 40 fits into 5 0 times, leaving a remainder of 5.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 40

Advancing to step 2:
40 goes into 53 1 times with a remainder of 13.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
Subtract 40 from 53 to get 13.
Append the next digit (8) from the dividend to 13 and continue with: 138 / 40

Moving on to step 3:
The number 40 fits into 138 3 times, leaving a remainder of 18.
Write down 3 as next digit of the result. 
Result so far: 13.0
Subtracting 120 from 138 leaves us with 18.
Grab the next digit (6) from the dividend, add it to 18, then carry on: 186 / 40

Step 4:
If we divide 186 by 40, we get 4 and a remainder of 26.
Record the quotient 4 as the next digit in the result. 
Result so far: 134.0
The remainder is 26 after subtracting 160 from 186.
Append the next digit (3) from the dividend to 26 and continue with: 263 / 40

Step 5:
The number 40 fits into 263 6 times, leaving a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 1346.0
Deduct 240 from 263 and we're left with 23.
Grab the next digit (6) from the dividend, add it to 23, then carry on: 236 / 40

Moving on to step 6:
When dividing 236 by 40, we get 5 with a remainder of 36.
Put 5 as the next digit of the answer. 
Result so far: 13465.0
Deduct 200 from 236 and we're left with 36.
Since there are no more digits in the dividend, we add a zero to the remainder making it 360, and continue the process.

Moving on to step 7:
If we divide 360 by 40, we get 9 and a remainder of 0.
Put 9 as the next digit of the answer. 
Result so far: 13465.9
Deduct 360 from 360 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 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 13465.9
Deduct 0 from 0 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.

Let's proceed to step 9:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 13465.9
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.

After the division, we end up with 13465.9 and a remainder of 0.0.