Let's divide 87591978 by 789
We want to divide 87591978 by 789.

On to step 1:
When dividing 8 by 789, we get 0 with a remainder of 8.
The next digit of our result is 0. 
Result so far: 0.0
If we take 0 away from 8, we end up with 8.
Fetch the next digit (7) from the dividend, attach it to 8 and continue: 87 / 789

Moving on to step 2:
789 goes into 87 0 times with a remainder of 87.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 87 leaves us with 87.
Grab the next digit (5) from the dividend, add it to 87, then carry on: 875 / 789

Step 3:
When dividing 875 by 789, we get 1 with a remainder of 86.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
Subtract 789 from 875 to get 86.
Include the next digit (9) from the dividend after 86, then repeat: 869 / 789

Advancing to step 4:
869 divided by 789 is 1 with a remainder of 80.
The number 1 becomes the next digit in our result. 
Result so far: 11.0
Deduct 789 from 869 and we're left with 80.
Take the next digit (1) from the dividend and append it to 80, then repeat: 801 / 789

Step 5:
789 can be fit into 801 1 times, resulting in a remainder of 12.
Use 1 as the next digit of our solution. 
Result so far: 111.0
Subtracting 789 from 801 leaves us with 12.
Fetch the next digit (9) from the dividend, attach it to 12 and continue: 129 / 789

Let's proceed to step 6:
789 goes into 129 0 times with a remainder of 129.
Use 0 as the next digit of our solution. 
Result so far: 1110.0
Deduct 0 from 129 and we're left with 129.
Take the next digit (7) from the dividend and append it to 129, then repeat: 1297 / 789

Going ahead to step 7:
The number 789 fits into 1297 1 times, leaving a remainder of 508.
Put 1 as the next digit of the answer. 
Result so far: 11101.0
If we subtract 789 from 1297, we get 508.
Grab the next digit (8) from the dividend, add it to 508, then carry on: 5088 / 789

On to step 8:
789 can be fit into 5088 6 times, resulting in a remainder of 354.
Write down 6 as next digit of the result. 
Result so far: 111016.0
Subtract 4734 from 5088 to get 354.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3540, and continue the process.

Moving on to step 9:
The number 789 fits into 3540 4 times, leaving a remainder of 384.
The number 4 becomes the next digit in our result. 
Result so far: 111016.4
The remainder is 384 after subtracting 3156 from 3540.
Since there are no more digits in the dividend, we add a zero to the remainder making it 3840, and continue the process.

Advancing to step 10:
If we divide 3840 by 789, we get 4 and a remainder of 684.
Put 4 as the next digit of the answer. 
Result so far: 111016.44
Deduct 3156 from 3840 and we're left with 684.
Since there are no more digits in the dividend, we add a zero to the remainder making it 6840, and continue the process.

The quotient of the division is 111016.44, and the remainder is 0.684.