Let's divide 509782 by 95
Our goal is to divide 509782 by 95.

Advancing to step 1:
The number 95 fits into 5 0 times, leaving a remainder of 5.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 5 after subtracting 0 from 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 95

On to step 2:
The number 95 fits into 50 0 times, leaving a remainder of 50.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 50, we get 50.
Bring next digit (9) of the dividend behind the 50 and repeat the process: 509 / 95

Going ahead to step 3:
95 goes into 509 5 times with a remainder of 34.
Put 5 as the next digit of the answer. 
Result so far: 5.0
Subtract 475 from 509 to get 34.
Append the next digit (7) from the dividend to 34 and continue with: 347 / 95

Going ahead to step 4:
95 goes into 347 3 times with a remainder of 62.
The next digit of our result is 3. 
Result so far: 53.0
Subtract 285 from 347 to get 62.
Append the next digit (8) from the dividend to 62 and continue with: 628 / 95

Moving on to step 5:
The number 95 fits into 628 6 times, leaving a remainder of 58.
Put 6 as the next digit of the answer. 
Result so far: 536.0
The remainder is 58 after subtracting 570 from 628.
Fetch the next digit (2) from the dividend, attach it to 58 and continue: 582 / 95

Let's proceed to step 6:
582 divided by 95 is 6 with a remainder of 12.
Write down 6 as next digit of the result. 
Result so far: 5366.0
Subtracting 570 from 582 leaves us with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Let's proceed to step 7:
The number 95 fits into 120 1 times, leaving a remainder of 25.
Record the quotient 1 as the next digit in the result. 
Result so far: 5366.1
If we take 95 away from 120, we end up with 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Moving on to step 8:
When dividing 250 by 95, we get 2 with a remainder of 60.
The next digit of our result is 2. 
Result so far: 5366.12
Deduct 190 from 250 and we're left with 60.
Since there are no more digits in the dividend, we add a zero to the remainder making it 600, and continue the process.

On to step 9:
If we divide 600 by 95, we get 6 and a remainder of 30.
Record the quotient 6 as the next digit in the result. 
Result so far: 5366.126
Subtracting 570 from 600 leaves us with 30.
Since there are no more digits in the dividend, we add a zero to the remainder making it 300, and continue the process.

Step 10:
95 goes into 300 3 times with a remainder of 15.
Put 3 as the next digit of the answer. 
Result so far: 5366.1263
The remainder is 15 after subtracting 285 from 300.
Since there are no more digits in the dividend, we add a zero to the remainder making it 150, and continue the process.

Advancing to step 11:
The number 95 fits into 150 1 times, leaving a remainder of 55.
Record the quotient 1 as the next digit in the result. 
Result so far: 5366.12631
If we take 95 away from 150, we end up with 55.
Since there are no more digits in the dividend, we add a zero to the remainder making it 550, and continue the process.

Advancing to step 12:
The number 95 fits into 550 5 times, leaving a remainder of 75.
Use 5 as the next digit of our solution. 
Result so far: 5366.126315
Deduct 475 from 550 and we're left with 75.
Since there are no more digits in the dividend, we add a zero to the remainder making it 750, and continue the process.

On to step 13:
750 divided by 95 is 7 with a remainder of 85.
The number 7 becomes the next digit in our result. 
Result so far: 5366.1263157
Subtract 665 from 750 to get 85.
Since there are no more digits in the dividend, we add a zero to the remainder making it 850, and continue the process.

Step 14:
850 divided by 95 is 8 with a remainder of 90.
The number 8 becomes the next digit in our result. 
Result so far: 5366.12631578
Deduct 760 from 850 and we're left with 90.
Since there are no more digits in the dividend, we add a zero to the remainder making it 900, and continue the process.

The quotient of the division is 5366.12631578, and the remainder is 9e-08.