Let's divide 504365 by 12
We're looking to find how many times 12 goes into 504365.

Let's proceed to step 1:
12 can be fit into 5 0 times, resulting in a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Fetch the next digit (0) from the dividend, attach it to 5 and continue: 50 / 12

Advancing to step 2:
12 can be fit into 50 4 times, resulting in a remainder of 2.
Write down 4 as next digit of the result. 
Result so far: 4.0
The remainder is 2 after subtracting 48 from 50.
Fetch the next digit (4) from the dividend, attach it to 2 and continue: 24 / 12

Let's proceed to step 3:
If we divide 24 by 12, we get 2 and a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 42.0
Subtract 24 from 24 to get 0.
Bring next digit (3) of the dividend behind the 0 and repeat the process: 3 / 12

Step 4:
12 can be fit into 3 0 times, resulting in a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 420.0
The remainder is 3 after subtracting 0 from 3.
Append the next digit (6) from the dividend to 3 and continue with: 36 / 12

Going ahead to step 5:
12 can be fit into 36 3 times, resulting in a remainder of 0.
Write down 3 as next digit of the result. 
Result so far: 4203.0
The remainder is 0 after subtracting 36 from 36.
Grab the next digit (5) from the dividend, add it to 0, then carry on: 5 / 12

Going ahead to step 6:
5 divided by 12 is 0 with a remainder of 5.
The number 0 becomes the next digit in our result. 
Result so far: 42030.0
Subtracting 0 from 5 leaves us with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 7:
12 goes into 50 4 times with a remainder of 2.
Use 4 as the next digit of our solution. 
Result so far: 42030.4
Subtracting 48 from 50 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Step 8:
12 goes into 20 1 times with a remainder of 8.
Use 1 as the next digit of our solution. 
Result so far: 42030.41
If we take 12 away from 20, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

On to step 9:
12 can be fit into 80 6 times, resulting in a remainder of 8.
The number 6 becomes the next digit in our result. 
Result so far: 42030.416
Subtract 72 from 80 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
The number 12 fits into 80 6 times, leaving a remainder of 8.
The next digit of our result is 6. 
Result so far: 42030.4166
Deduct 72 from 80 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

The quotient of the division is 42030.4166, and the remainder is 8e-05.