We look at the division of 5642873 by 514 
Our goal is to divide 5642873 by 514.

Step 1:
When dividing 5 by 514, we get 0 with a remainder of 5.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 5, we get 5.
Include the next digit (6) from the dividend after 5, then repeat: 56 / 514

Moving on to step 2:
56 divided by 514 is 0 with a remainder of 56.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
If we subtract 0 from 56, we get 56.
Include the next digit (4) from the dividend after 56, then repeat: 564 / 514

Let's proceed to step 3:
514 goes into 564 1 times with a remainder of 50.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 50 after subtracting 514 from 564.
Grab the next digit (2) from the dividend, add it to 50, then carry on: 502 / 514

Moving on to step 4:
If we divide 502 by 514, we get 0 and a remainder of 502.
Use 0 as the next digit of our solution. 
Result so far: 10.0
Subtract 0 from 502 to get 502.
Append the next digit (8) from the dividend to 502 and continue with: 5028 / 514

Advancing to step 5:
The number 514 fits into 5028 9 times, leaving a remainder of 402.
Put 9 as the next digit of the answer. 
Result so far: 109.0
If we take 4626 away from 5028, we end up with 402.
Bring next digit (7) of the dividend behind the 402 and repeat the process: 4027 / 514

On to step 6:
If we divide 4027 by 514, we get 7 and a remainder of 429.
The number 7 becomes the next digit in our result. 
Result so far: 1097.0
Subtract 3598 from 4027 to get 429.
Fetch the next digit (3) from the dividend, attach it to 429 and continue: 4293 / 514

On to step 7:
The number 514 fits into 4293 8 times, leaving a remainder of 181.
Use 8 as the next digit of our solution. 
Result so far: 10978.0
The remainder is 181 after subtracting 4112 from 4293.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1810, and continue the process.

Let's proceed to step 8:
The number 514 fits into 1810 3 times, leaving a remainder of 268.
The number 3 becomes the next digit in our result. 
Result so far: 10978.3
Subtract 1542 from 1810 to get 268.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2680, and continue the process.

Let's proceed to step 9:
514 can be fit into 2680 5 times, resulting in a remainder of 110.
Use 5 as the next digit of our solution. 
Result so far: 10978.35
Subtracting 2570 from 2680 leaves us with 110.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1100, and continue the process.

On to step 10:
514 goes into 1100 2 times with a remainder of 72.
The number 2 becomes the next digit in our result. 
Result so far: 10978.352
Deduct 1028 from 1100 and we're left with 72.
Since there are no more digits in the dividend, we add a zero to the remainder making it 720, and continue the process.

Going ahead to step 11:
If we divide 720 by 514, we get 1 and a remainder of 206.
Use 1 as the next digit of our solution. 
Result so far: 10978.3521
Subtract 514 from 720 to get 206.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2060, and continue the process.

Moving on to step 12:
514 goes into 2060 4 times with a remainder of 4.
The next digit of our result is 4. 
Result so far: 10978.35214
If we subtract 2056 from 2060, we get 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

On to step 13:
514 goes into 40 0 times with a remainder of 40.
Use 0 as the next digit of our solution. 
Result so far: 10978.35214
If we take 0 away from 40, we end up with 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:
514 can be fit into 400 0 times, resulting in a remainder of 400.
The next digit of our result is 0. 
Result so far: 10978.35214
Deduct 0 from 400 and we're left with 400.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4000, and continue the process.

The quotient of the division is 10978.35214, and the remainder is 4e-06.