We divide 78579 by 31
We're looking to find how many times 31 goes into 78579.

Step 1:
If we divide 7 by 31, we get 0 and a remainder of 7.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Deduct 0 from 7 and we're left with 7.
Take the next digit (8) from the dividend and append it to 7, then repeat: 78 / 31

On to step 2:
31 can be fit into 78 2 times, resulting in a remainder of 16.
Record the quotient 2 as the next digit in the result. 
Result so far: 2.0
Subtract 62 from 78 to get 16.
Take the next digit (5) from the dividend and append it to 16, then repeat: 165 / 31

Going ahead to step 3:
If we divide 165 by 31, we get 5 and a remainder of 10.
The next digit of our result is 5. 
Result so far: 25.0
If we subtract 155 from 165, we get 10.
Take the next digit (7) from the dividend and append it to 10, then repeat: 107 / 31

Let's proceed to step 4:
31 goes into 107 3 times with a remainder of 14.
Use 3 as the next digit of our solution. 
Result so far: 253.0
If we take 93 away from 107, we end up with 14.
Grab the next digit (9) from the dividend, add it to 14, then carry on: 149 / 31

Advancing to step 5:
31 goes into 149 4 times with a remainder of 25.
Write down 4 as next digit of the result. 
Result so far: 2534.0
Deduct 124 from 149 and we're left 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.

Step 6:
When dividing 250 by 31, we get 8 with a remainder of 2.
Write down 8 as next digit of the result. 
Result so far: 2534.8
Deduct 248 from 250 and we're left with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Going ahead to step 7:
20 divided by 31 is 0 with a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 2534.8
If we take 0 away from 20, we end up with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 8:
The number 31 fits into 200 6 times, leaving a remainder of 14.
Write down 6 as next digit of the result. 
Result so far: 2534.806
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Advancing to step 9:
When dividing 140 by 31, we get 4 with a remainder of 16.
Use 4 as the next digit of our solution. 
Result so far: 2534.8064
If we subtract 124 from 140, we get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Advancing to step 10:
The number 31 fits into 160 5 times, leaving a remainder of 5.
The number 5 becomes the next digit in our result. 
Result so far: 2534.80645
Deduct 155 from 160 and we're left with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
The number 31 fits into 50 1 times, leaving a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 2534.806451
If we subtract 31 from 50, we get 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 12:
If we divide 190 by 31, we get 6 and a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 2534.8064516
If we take 186 away from 190, we end up with 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:
The number 31 fits into 40 1 times, leaving a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 2534.80645161
Deduct 31 from 40 and we're left with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

The quotient of the division is 2534.80645161, and the remainder is 9e-09.