309078 divided by 31 
We want to divide 309078 by 31.

Moving on to step 1:
If we divide 3 by 31, we get 0 and a remainder of 3.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Take the next digit (0) from the dividend and append it to 3, then repeat: 30 / 31

Moving on to step 2:
31 can be fit into 30 0 times, resulting in a remainder of 30.
Use 0 as the next digit of our solution. 
Result so far: 0.0
The remainder is 30 after subtracting 0 from 30.
Take the next digit (9) from the dividend and append it to 30, then repeat: 309 / 31

Going ahead to step 3:
31 goes into 309 9 times with a remainder of 30.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
Subtracting 279 from 309 leaves us with 30.
Bring next digit (0) of the dividend behind the 30 and repeat the process: 300 / 31

Step 4:
31 can be fit into 300 9 times, resulting in a remainder of 21.
Put 9 as the next digit of the answer. 
Result so far: 99.0
Deduct 279 from 300 and we're left with 21.
Bring next digit (7) of the dividend behind the 21 and repeat the process: 217 / 31

Step 5:
If we divide 217 by 31, we get 7 and a remainder of 0.
The number 7 becomes the next digit in our result. 
Result so far: 997.0
The remainder is 0 after subtracting 217 from 217.
Bring next digit (8) of the dividend behind the 0 and repeat the process: 8 / 31

Advancing to step 6:
The number 31 fits into 8 0 times, leaving a remainder of 8.
Record the quotient 0 as the next digit in the result. 
Result so far: 9970.0
If we take 0 away from 8, we end up 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.

Advancing to step 7:
The number 31 fits into 80 2 times, leaving a remainder of 18.
The next digit of our result is 2. 
Result so far: 9970.2
Deduct 62 from 80 and we're left 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.

Going ahead to step 8:
If we divide 180 by 31, we get 5 and a remainder of 25.
Record the quotient 5 as the next digit in the result. 
Result so far: 9970.25
Subtract 155 from 180 to get 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 9:
31 can be fit into 250 8 times, resulting in a remainder of 2.
Use 8 as the next digit of our solution. 
Result so far: 9970.258
Subtracting 248 from 250 leaves us 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 10:
20 divided by 31 is 0 with a remainder of 20.
Record the quotient 0 as the next digit in the result. 
Result so far: 9970.258
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 11:
31 can be fit into 200 6 times, resulting in a remainder of 14.
Record the quotient 6 as the next digit in the result. 
Result so far: 9970.25806
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.

Step 12:
140 divided by 31 is 4 with a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 9970.258064
The remainder is 16 after subtracting 124 from 140.
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 13:
31 goes into 160 5 times with a remainder of 5.
Use 5 as the next digit of our solution. 
Result so far: 9970.2580645
Subtracting 155 from 160 leaves us 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.

On to step 14:
50 divided by 31 is 1 with a remainder of 19.
The next digit of our result is 1. 
Result so far: 9970.25806451
The remainder is 19 after subtracting 31 from 50.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

After the division, we end up with 9970.25806451 and a remainder of 1.9e-08.