We're dividing 31791068 by 286 
We want to divide 31791068 by 286.

Going ahead to step 1:
3 divided by 286 is 0 with a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
The remainder is 3 after subtracting 0 from 3.
Fetch the next digit (1) from the dividend, attach it to 3 and continue: 31 / 286

On to step 2:
When dividing 31 by 286, we get 0 with a remainder of 31.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 31, we end up with 31.
Fetch the next digit (7) from the dividend, attach it to 31 and continue: 317 / 286

Advancing to step 3:
The number 286 fits into 317 1 times, leaving a remainder of 31.
The number 1 becomes the next digit in our result. 
Result so far: 1.0
The remainder is 31 after subtracting 286 from 317.
Include the next digit (9) from the dividend after 31, then repeat: 319 / 286

Advancing to step 4:
319 divided by 286 is 1 with a remainder of 33.
Record the quotient 1 as the next digit in the result. 
Result so far: 11.0
If we subtract 286 from 319, we get 33.
Fetch the next digit (1) from the dividend, attach it to 33 and continue: 331 / 286

Let's proceed to step 5:
331 divided by 286 is 1 with a remainder of 45.
Write down 1 as next digit of the result. 
Result so far: 111.0
Subtracting 286 from 331 leaves us with 45.
Fetch the next digit (0) from the dividend, attach it to 45 and continue: 450 / 286

Going ahead to step 6:
If we divide 450 by 286, we get 1 and a remainder of 164.
Use 1 as the next digit of our solution. 
Result so far: 1111.0
If we take 286 away from 450, we end up with 164.
Append the next digit (6) from the dividend to 164 and continue with: 1646 / 286

Step 7:
When dividing 1646 by 286, we get 5 with a remainder of 216.
Record the quotient 5 as the next digit in the result. 
Result so far: 11115.0
If we take 1430 away from 1646, we end up with 216.
Append the next digit (8) from the dividend to 216 and continue with: 2168 / 286

On to step 8:
If we divide 2168 by 286, we get 7 and a remainder of 166.
Use 7 as the next digit of our solution. 
Result so far: 111157.0
Subtract 2002 from 2168 to get 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Let's proceed to step 9:
286 goes into 1660 5 times with a remainder of 230.
Put 5 as the next digit of the answer. 
Result so far: 111157.5
Deduct 1430 from 1660 and we're left with 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Moving on to step 10:
The number 286 fits into 2300 8 times, leaving a remainder of 12.
Record the quotient 8 as the next digit in the result. 
Result so far: 111157.58
Deduct 2288 from 2300 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

On to step 11:
286 can be fit into 120 0 times, resulting in a remainder of 120.
Record the quotient 0 as the next digit in the result. 
Result so far: 111157.58
Subtracting 0 from 120 leaves us with 120.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1200, and continue the process.

Going ahead to step 12:
1200 divided by 286 is 4 with a remainder of 56.
The next digit of our result is 4. 
Result so far: 111157.5804
Subtract 1144 from 1200 to get 56.
Since there are no more digits in the dividend, we add a zero to the remainder making it 560, and continue the process.

Going ahead to step 13:
560 divided by 286 is 1 with a remainder of 274.
Use 1 as the next digit of our solution. 
Result so far: 111157.58041
The remainder is 274 after subtracting 286 from 560.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2740, and continue the process.

Let's proceed to step 14:
286 goes into 2740 9 times with a remainder of 166.
The number 9 becomes the next digit in our result. 
Result so far: 111157.580419
If we take 2574 away from 2740, we end up with 166.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1660, and continue the process.

Let's proceed to step 15:
The number 286 fits into 1660 5 times, leaving a remainder of 230.
Record the quotient 5 as the next digit in the result. 
Result so far: 111157.5804195
If we subtract 1430 from 1660, we get 230.
Since there are no more digits in the dividend, we add a zero to the remainder making it 2300, and continue the process.

Moving on to step 16:
If we divide 2300 by 286, we get 8 and a remainder of 12.
Write down 8 as next digit of the result. 
Result so far: 111157.58041958
Deduct 2288 from 2300 and we're left with 12.
Since there are no more digits in the dividend, we add a zero to the remainder making it 120, and continue the process.

Our division results in 111157.58041958 with a remaining 1.2e-08.