Let's divide 5381213 by 782
We want to divide 5381213 by 782.

On to step 1:
782 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
If we subtract 0 from 5, we get 5.
Take the next digit (3) from the dividend and append it to 5, then repeat: 53 / 782

On to step 2:
When dividing 53 by 782, we get 0 with a remainder of 53.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 53 and we're left with 53.
Bring next digit (8) of the dividend behind the 53 and repeat the process: 538 / 782

On to step 3:
538 divided by 782 is 0 with a remainder of 538.
Put 0 as the next digit of the answer. 
Result so far: 0.0
The remainder is 538 after subtracting 0 from 538.
Append the next digit (1) from the dividend to 538 and continue with: 5381 / 782

Let's proceed to step 4:
5381 divided by 782 is 6 with a remainder of 689.
The next digit of our result is 6. 
Result so far: 6.0
Subtract 4692 from 5381 to get 689.
Include the next digit (2) from the dividend after 689, then repeat: 6892 / 782

Step 5:
If we divide 6892 by 782, we get 8 and a remainder of 636.
Put 8 as the next digit of the answer. 
Result so far: 68.0
The remainder is 636 after subtracting 6256 from 6892.
Take the next digit (1) from the dividend and append it to 636, then repeat: 6361 / 782

On to step 6:
When dividing 6361 by 782, we get 8 with a remainder of 105.
Use 8 as the next digit of our solution. 
Result so far: 688.0
If we take 6256 away from 6361, we end up with 105.
Take the next digit (3) from the dividend and append it to 105, then repeat: 1053 / 782

Advancing to step 7:
If we divide 1053 by 782, we get 1 and a remainder of 271.
The next digit of our result is 1. 
Result so far: 6881.0
The remainder is 271 after subtracting 782 from 1053.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2710, and continue the process.

Step 8:
782 can be fit into 2710 3 times, resulting in a remainder of 364.
Use 3 as the next digit of our solution. 
Result so far: 6881.3
If we subtract 2346 from 2710, we get 364.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3640, and continue the process.

Advancing to step 9:
3640 divided by 782 is 4 with a remainder of 512.
Use 4 as the next digit of our solution. 
Result so far: 6881.34
If we subtract 3128 from 3640, we get 512.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5120, and continue the process.

On to step 10:
If we divide 5120 by 782, we get 6 and a remainder of 428.
Put 6 as the next digit of the answer. 
Result so far: 6881.346
If we take 4692 away from 5120, we end up with 428.
Since there are no more digits in the dividend, we add a zero to the remainder making it 4280, and continue the process.

Advancing to step 11:
782 can be fit into 4280 5 times, resulting in a remainder of 370.
Use 5 as the next digit of our solution. 
Result so far: 6881.3465
The remainder is 370 after subtracting 3910 from 4280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3700, and continue the process.

Advancing to step 12:
782 goes into 3700 4 times with a remainder of 572.
Use 4 as the next digit of our solution. 
Result so far: 6881.34654
Deduct 3128 from 3700 and we're left with 572.
Since there are no more digits in the dividend, we add a zero to the remainder making it 5720, and continue the process.

Going ahead to step 13:
782 goes into 5720 7 times with a remainder of 246.
Put 7 as the next digit of the answer. 
Result so far: 6881.346547
The remainder is 246 after subtracting 5474 from 5720.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2460, and continue the process.

Let's proceed to step 14:
The number 782 fits into 2460 3 times, leaving a remainder of 114.
Record the quotient 3 as the next digit in the result. 
Result so far: 6881.3465473
The remainder is 114 after subtracting 2346 from 2460.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1140, and continue the process.

Going ahead to step 15:
782 goes into 1140 1 times with a remainder of 358.
The number 1 becomes the next digit in our result. 
Result so far: 6881.34654731
If we take 782 away from 1140, we end up with 358.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3580, and continue the process.

After the division, we end up with 6881.34654731 and a remainder of 3.58e-07.