We're dividing 520733 by 40 
Let's see how many times 40 fits into 520733.

Advancing 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
Deduct 0 from 5 and we're left with 5.
Take the next digit (2) from the dividend and append it to 5, then repeat: 52 / 40

Advancing to step 2:
The number 40 fits into 52 1 times, leaving a remainder of 12.
Put 1 as the next digit of the answer. 
Result so far: 1.0
Subtract 40 from 52 to get 12.
Take the next digit (0) from the dividend and append it to 12, then repeat: 120 / 40

Going ahead to step 3:
When dividing 120 by 40, we get 3 with a remainder of 0.
Use 3 as the next digit of our solution. 
Result so far: 13.0
If we take 120 away from 120, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 40

Let's proceed to step 4:
7 divided by 40 is 0 with a remainder of 7.
Put 0 as the next digit of the answer. 
Result so far: 130.0
If we subtract 0 from 7, we get 7.
Append the next digit (3) from the dividend to 7 and continue with: 73 / 40

Let's proceed to step 5:
If we divide 73 by 40, we get 1 and a remainder of 33.
The number 1 becomes the next digit in our result. 
Result so far: 1301.0
If we take 40 away from 73, we end up with 33.
Append the next digit (3) from the dividend to 33 and continue with: 333 / 40

Advancing to step 6:
40 can be fit into 333 8 times, resulting in a remainder of 13.
Put 8 as the next digit of the answer. 
Result so far: 13018.0
Subtract 320 from 333 to get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Step 7:
The number 40 fits into 130 3 times, leaving a remainder of 10.
Put 3 as the next digit of the answer. 
Result so far: 13018.3
If we take 120 away from 130, we end up with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Record the quotient 2 as the next digit in the result. 
Result so far: 13018.32
The remainder is 20 after subtracting 80 from 100.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 9:
When dividing 200 by 40, we get 5 with a remainder of 0.
Put 5 as the next digit of the answer. 
Result so far: 13018.325
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.

Advancing to step 10:
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: 13018.325
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.

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

Our division results in 13018.325 with a remaining 0.0.