We divide 81580 by 31
We want to figure out the number of times 81580 can be divided by 31.

Going ahead to step 1:
If we divide 8 by 31, we get 0 and a remainder of 8.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 8 leaves us with 8.
Bring next digit (1) of the dividend behind the 8 and repeat the process: 81 / 31

On to step 2:
When dividing 81 by 31, we get 2 with a remainder of 19.
Use 2 as the next digit of our solution. 
Result so far: 2.0
Deduct 62 from 81 and we're left with 19.
Fetch the next digit (5) from the dividend, attach it to 19 and continue: 195 / 31

Step 3:
When dividing 195 by 31, we get 6 with a remainder of 9.
Put 6 as the next digit of the answer. 
Result so far: 26.0
The remainder is 9 after subtracting 186 from 195.
Fetch the next digit (8) from the dividend, attach it to 9 and continue: 98 / 31

Advancing to step 4:
98 divided by 31 is 3 with a remainder of 5.
Use 3 as the next digit of our solution. 
Result so far: 263.0
Subtract 93 from 98 to get 5.
Include the next digit (0) from the dividend after 5, then repeat: 50 / 31

Step 5:
If we divide 50 by 31, we get 1 and a remainder of 19.
Write down 1 as next digit of the result. 
Result so far: 2631.0
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.

Let's proceed to step 6:
When dividing 190 by 31, we get 6 with a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 2631.6
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.

Advancing to step 7:
40 divided by 31 is 1 with a remainder of 9.
Write down 1 as next digit of the result. 
Result so far: 2631.61
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.

Going ahead to step 8:
If we divide 90 by 31, we get 2 and a remainder of 28.
Record the quotient 2 as the next digit in the result. 
Result so far: 2631.612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Going ahead to step 9:
31 can be fit into 280 9 times, resulting in a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 2631.6129
If we subtract 279 from 280, we get 1.
Since there are no more digits in the dividend, we add a zero to the remainder making it 10, and continue the process.

On to step 10:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 2631.6129
If we take 0 away from 10, we end up 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.

Moving on to step 11:
31 goes into 100 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 2631.612903
Subtracting 93 from 100 leaves us with 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Advancing to step 12:
When dividing 70 by 31, we get 2 with a remainder of 8.
Record the quotient 2 as the next digit in the result. 
Result so far: 2631.6129032
Deduct 62 from 70 and we're left with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Step 13:
80 divided by 31 is 2 with a remainder of 18.
The number 2 becomes the next digit in our result. 
Result so far: 2631.61290322
If we take 62 away from 80, we end up with 18.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

The quotient of the division is 2631.61290322, and the remainder is 1.8e-08.