We're dividing 8219743 by 791 
We want to figure out the number of times 8219743 can be divided by 791.

Let's proceed to step 1:
8 divided by 791 is 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Include the next digit (2) from the dividend after 8, then repeat: 82 / 791

Going ahead to step 2:
791 goes into 82 0 times with a remainder of 82.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtracting 0 from 82 leaves us with 82.
Include the next digit (1) from the dividend after 82, then repeat: 821 / 791

Let's proceed to step 3:
791 can be fit into 821 1 times, resulting in a remainder of 30.
The next digit of our result is 1. 
Result so far: 1.0
Subtract 791 from 821 to get 30.
Take the next digit (9) from the dividend and append it to 30, then repeat: 309 / 791

Advancing to step 4:
791 goes into 309 0 times with a remainder of 309.
Put 0 as the next digit of the answer. 
Result so far: 10.0
Deduct 0 from 309 and we're left with 309.
Grab the next digit (7) from the dividend, add it to 309, then carry on: 3097 / 791

Step 5:
If we divide 3097 by 791, we get 3 and a remainder of 724.
Put 3 as the next digit of the answer. 
Result so far: 103.0
Deduct 2373 from 3097 and we're left with 724.
Include the next digit (4) from the dividend after 724, then repeat: 7244 / 791

On to step 6:
791 goes into 7244 9 times with a remainder of 125.
Write down 9 as next digit of the result. 
Result so far: 1039.0
Subtract 7119 from 7244 to get 125.
Take the next digit (3) from the dividend and append it to 125, then repeat: 1253 / 791

Moving on to step 7:
791 can be fit into 1253 1 times, resulting in a remainder of 462.
Put 1 as the next digit of the answer. 
Result so far: 10391.0
If we take 791 away from 1253, we end up with 462.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4620, and continue the process.

Advancing to step 8:
791 goes into 4620 5 times with a remainder of 665.
The number 5 becomes the next digit in our result. 
Result so far: 10391.5
The remainder is 665 after subtracting 3955 from 4620.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6650, and continue the process.

Step 9:
The number 791 fits into 6650 8 times, leaving a remainder of 322.
Use 8 as the next digit of our solution. 
Result so far: 10391.58
Subtract 6328 from 6650 to get 322.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3220, and continue the process.

Step 10:
When dividing 3220 by 791, we get 4 with a remainder of 56.
The number 4 becomes the next digit in our result. 
Result so far: 10391.584
Deduct 3164 from 3220 and we're left with 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Moving on to step 11:
791 can be fit into 560 0 times, resulting in a remainder of 560.
The next digit of our result is 0. 
Result so far: 10391.584
Deduct 0 from 560 and we're left with 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5600, and continue the process.

Moving on to step 12:
When dividing 5600 by 791, we get 7 with a remainder of 63.
Write down 7 as next digit of the result. 
Result so far: 10391.58407
Subtracting 5537 from 5600 leaves us with 63.
Since there are no more digits in the dividend, we add a zero to the remainder making it 630, and continue the process.

Going ahead to step 13:
When dividing 630 by 791, we get 0 with a remainder of 630.
Use 0 as the next digit of our solution. 
Result so far: 10391.58407
If we subtract 0 from 630, we get 630.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6300, and continue the process.

Going ahead to step 14:
The number 791 fits into 6300 7 times, leaving a remainder of 763.
The next digit of our result is 7. 
Result so far: 10391.5840707
The remainder is 763 after subtracting 5537 from 6300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 7630, and continue the process.

Going ahead to step 15:
791 goes into 7630 9 times with a remainder of 511.
The next digit of our result is 9. 
Result so far: 10391.58407079
If we subtract 7119 from 7630, we get 511.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5110, and continue the process.

The quotient of the division is 10391.58407079, and the remainder is 5.11e-07.