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

Step 1:
31 goes into 3 0 times with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Bring next digit (0) of the dividend behind the 3 and repeat the process: 30 / 31

Advancing to step 2:
If we divide 30 by 31, we get 0 and a remainder of 30.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 30, we get 30.
Bring next digit (2) of the dividend behind the 30 and repeat the process: 302 / 31

Moving on to step 3:
31 can be fit into 302 9 times, resulting in a remainder of 23.
The number 9 becomes the next digit in our result. 
Result so far: 9.0
If we subtract 279 from 302, we get 23.
Append the next digit (7) from the dividend to 23 and continue with: 237 / 31

Going ahead to step 4:
31 goes into 237 7 times with a remainder of 20.
Write down 7 as next digit of the result. 
Result so far: 97.0
If we take 217 away from 237, we end up with 20.
Append the next digit (8) from the dividend to 20 and continue with: 208 / 31

On to step 5:
208 divided by 31 is 6 with a remainder of 22.
Record the quotient 6 as the next digit in the result. 
Result so far: 976.0
Subtracting 186 from 208 leaves us with 22.
Grab the next digit (1) from the dividend, add it to 22, then carry on: 221 / 31

Advancing to step 6:
The number 31 fits into 221 7 times, leaving a remainder of 4.
Put 7 as the next digit of the answer. 
Result so far: 9767.0
Deduct 217 from 221 and we're left 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.

Going ahead to step 7:
31 can be fit into 40 1 times, resulting in a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 9767.1
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.

Moving on to step 8:
The number 31 fits into 90 2 times, leaving a remainder of 28.
The next digit of our result is 2. 
Result so far: 9767.12
If we subtract 62 from 90, we 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.

Moving on to step 9:
280 divided by 31 is 9 with a remainder of 1.
Use 9 as the next digit of our solution. 
Result so far: 9767.129
Subtracting 279 from 280 leaves us 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.

Advancing to step 10:
The number 31 fits into 10 0 times, leaving a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 9767.129
The remainder is 10 after subtracting 0 from 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

Step 11:
31 goes into 100 3 times with a remainder of 7.
Write down 3 as next digit of the result. 
Result so far: 9767.12903
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.

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: 9767.129032
Subtracting 62 from 70 leaves us 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.
Use 2 as the next digit of our solution. 
Result so far: 9767.1290322
The remainder is 18 after subtracting 62 from 80.
Since there are no more digits in the dividend, we add a zero to the remainder making it 180, and continue the process.

After the division, we end up with 9767.1290322 and a remainder of 1.8e-07.