We're dividing 502879 by 54 
We want to divide 502879 by 54.

Advancing to step 1:
When dividing 5 by 54, we get 0 with a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 5, we end up with 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 54

Let's proceed to step 2:
If we divide 50 by 54, we get 0 and a remainder of 50.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 50 after subtracting 0 from 50.
Take the next digit (2) from the dividend and append it to 50, then repeat: 502 / 54

On to step 3:
The number 54 fits into 502 9 times, leaving a remainder of 16.
Put 9 as the next digit of the answer. 
Result so far: 9.0
If we subtract 486 from 502, we get 16.
Append the next digit (8) from the dividend to 16 and continue with: 168 / 54

On to step 4:
54 goes into 168 3 times with a remainder of 6.
The next digit of our result is 3. 
Result so far: 93.0
Deduct 162 from 168 and we're left with 6.
Include the next digit (7) from the dividend after 6, then repeat: 67 / 54

On to step 5:
54 can be fit into 67 1 times, resulting in a remainder of 13.
Write down 1 as next digit of the result. 
Result so far: 931.0
The remainder is 13 after subtracting 54 from 67.
Fetch the next digit (9) from the dividend, attach it to 13 and continue: 139 / 54

Moving on to step 6:
54 goes into 139 2 times with a remainder of 31.
Record the quotient 2 as the next digit in the result. 
Result so far: 9312.0
If we subtract 108 from 139, we get 31.
Since there are no more digits in the dividend, we add a zero to the remainder making it 310, and continue the process.

Going ahead to step 7:
54 can be fit into 310 5 times, resulting in a remainder of 40.
Put 5 as the next digit of the answer. 
Result so far: 9312.5
Subtract 270 from 310 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 8:
54 goes into 400 7 times with a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 9312.57
Subtracting 378 from 400 leaves us with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Going ahead to step 9:
If we divide 220 by 54, we get 4 and a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 9312.574
Subtracting 216 from 220 leaves us with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Going ahead to step 10:
54 can be fit into 40 0 times, resulting in a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 9312.574
Subtract 0 from 40 to get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Step 11:
The number 54 fits into 400 7 times, leaving a remainder of 22.
Record the quotient 7 as the next digit in the result. 
Result so far: 9312.57407
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

Let's proceed to step 12:
The number 54 fits into 220 4 times, leaving a remainder of 4.
Write down 4 as next digit of the result. 
Result so far: 9312.574074
The remainder is 4 after subtracting 216 from 220.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Moving on to step 13:
54 goes into 40 0 times with a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 9312.574074
If we subtract 0 from 40, we get 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

Going ahead to step 14:
The number 54 fits into 400 7 times, leaving a remainder of 22.
The number 7 becomes the next digit in our result. 
Result so far: 9312.57407407
Deduct 378 from 400 and we're left with 22.
Since there are no more digits in the dividend, we add a zero to the remainder making it 220, and continue the process.

The quotient of the division is 9312.57407407, and the remainder is 2.2e-08.