We're dividing 524852 by 40 
We want to divide 524852 by 40.

Advancing to step 1:
When dividing 5 by 40, we get 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 40

On to step 2:
When dividing 52 by 40, we get 1 with a remainder of 12.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
The remainder is 12 after subtracting 40 from 52.
Append the next digit (4) from the dividend to 12 and continue with: 124 / 40

Going ahead to step 3:
40 goes into 124 3 times with a remainder of 4.
The next digit of our result is 3. 
Result so far: 13.0
The remainder is 4 after subtracting 120 from 124.
Fetch the next digit (8) from the dividend, attach it to 4 and continue: 48 / 40

Advancing to step 4:
When dividing 48 by 40, we get 1 with a remainder of 8.
The number 1 becomes the next digit in our result. 
Result so far: 131.0
If we subtract 40 from 48, we get 8.
Grab the next digit (5) from the dividend, add it to 8, then carry on: 85 / 40

Advancing to step 5:
The number 40 fits into 85 2 times, leaving a remainder of 5.
Use 2 as the next digit of our solution. 
Result so far: 1312.0
Subtract 80 from 85 to get 5.
Grab the next digit (2) from the dividend, add it to 5, then carry on: 52 / 40

Let's proceed to step 6:
52 divided by 40 is 1 with a remainder of 12.
Write down 1 as next digit of the result. 
Result so far: 13121.0
The remainder is 12 after subtracting 40 from 52.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 7:
40 can be fit into 120 3 times, resulting in a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 13121.3
If we take 120 away from 120, we end up 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.

Step 8:
40 goes into 0 0 times with a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 13121.3
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.

Going ahead to step 9:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 13121.3
If we take 0 away from 0, we end up 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.

The final outcome is 13121.3, with a leftover of 0.0.