Let's divide 78415 by 31
We want to figure out the number of times 78415 can be divided by 31.

Going ahead to step 1:
When dividing 7 by 31, we get 0 with a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (8) from the dividend after 7, then repeat: 78 / 31

Advancing to step 2:
78 divided by 31 is 2 with a remainder of 16.
The next digit of our result is 2. 
Result so far: 2.0
The remainder is 16 after subtracting 62 from 78.
Take the next digit (4) from the dividend and append it to 16, then repeat: 164 / 31

Going ahead to step 3:
If we divide 164 by 31, we get 5 and a remainder of 9.
Write down 5 as next digit of the result. 
Result so far: 25.0
Subtracting 155 from 164 leaves us with 9.
Bring next digit (1) of the dividend behind the 9 and repeat the process: 91 / 31

Moving on to step 4:
The number 31 fits into 91 2 times, leaving a remainder of 29.
Record the quotient 2 as the next digit in the result. 
Result so far: 252.0
Subtract 62 from 91 to get 29.
Include the next digit (5) from the dividend after 29, then repeat: 295 / 31

Step 5:
The number 31 fits into 295 9 times, leaving a remainder of 16.
The number 9 becomes the next digit in our result. 
Result so far: 2529.0
Deduct 279 from 295 and we're left with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Going ahead to step 6:
31 goes into 160 5 times with a remainder of 5.
Put 5 as the next digit of the answer. 
Result so far: 2529.5
If we subtract 155 from 160, we get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Moving on to step 7:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 2529.51
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.

Advancing to step 8:
31 goes into 190 6 times with a remainder of 4.
Record the quotient 6 as the next digit in the result. 
Result so far: 2529.516
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 9:
40 divided by 31 is 1 with a remainder of 9.
Put 1 as the next digit of the answer. 
Result so far: 2529.5161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Step 10:
The number 31 fits into 90 2 times, leaving a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 2529.51612
If we take 62 away from 90, we end up with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Moving on to step 11:
280 divided by 31 is 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 2529.516129
If we take 279 away from 280, we end up with 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

Let's proceed to step 12:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 2529.516129
Subtracting 0 from 10 leaves us with 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Going ahead to step 13:
The number 31 fits into 100 3 times, leaving a remainder of 7.
The next digit of our result is 3. 
Result so far: 2529.51612903
Subtract 93 from 100 to get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

The final outcome is 2529.51612903, with a leftover of 7e-09.