509997 divided by 36 
Let's see how many times 36 fits into 509997.

Step 1:
36 can be fit into 5 0 times, resulting in a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
Subtracting 0 from 5 leaves us with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 36

Going ahead to step 2:
If we divide 50 by 36, we get 1 and a remainder of 14.
The next digit of our result is 1. 
Result so far: 1.0
The remainder is 14 after subtracting 36 from 50.
Append the next digit (9) from the dividend to 14 and continue with: 149 / 36

Let's proceed to step 3:
36 goes into 149 4 times with a remainder of 5.
Write down 4 as next digit of the result. 
Result so far: 14.0
Subtract 144 from 149 to get 5.
Append the next digit (9) from the dividend to 5 and continue with: 59 / 36

Going ahead to step 4:
If we divide 59 by 36, we get 1 and a remainder of 23.
Write down 1 as next digit of the result. 
Result so far: 141.0
If we take 36 away from 59, we end up with 23.
Bring next digit (9) of the dividend behind the 23 and repeat the process: 239 / 36

Going ahead to step 5:
The number 36 fits into 239 6 times, leaving a remainder of 23.
Write down 6 as next digit of the result. 
Result so far: 1416.0
Subtracting 216 from 239 leaves us with 23.
Take the next digit (7) from the dividend and append it to 23, then repeat: 237 / 36

Going ahead to step 6:
When dividing 237 by 36, we get 6 with a remainder of 21.
The number 6 becomes the next digit in our result. 
Result so far: 14166.0
Deduct 216 from 237 and we're left with 21.
Since there are no more digits in the dividend, we add a zero to the remainder making it 210, and continue the process.

Going ahead to step 7:
The number 36 fits into 210 5 times, leaving a remainder of 30.
Record the quotient 5 as the next digit in the result. 
Result so far: 14166.5
If we subtract 180 from 210, we 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:
When dividing 300 by 36, we get 8 with a remainder of 12.
Use 8 as the next digit of our solution. 
Result so far: 14166.58
Subtracting 288 from 300 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 9:
120 divided by 36 is 3 with a remainder of 12.
Write down 3 as next digit of the result. 
Result so far: 14166.583
If we take 108 away from 120, we end up with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Step 10:
If we divide 120 by 36, we get 3 and a remainder of 12.
Record the quotient 3 as the next digit in the result. 
Result so far: 14166.5833
Deduct 108 from 120 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

The quotient of the division is 14166.5833, and the remainder is 0.00012.