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

Moving on to step 1:
The number 31 fits into 3 0 times, leaving a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Include the next digit (4) from the dividend after 3, then repeat: 34 / 31

On to step 2:
If we divide 34 by 31, we get 1 and a remainder of 3.
The next digit of our result is 1. 
Result so far: 1.0
If we take 31 away from 34, we end up with 3.
Bring next digit (2) of the dividend behind the 3 and repeat the process: 32 / 31

Let's proceed to step 3:
The number 31 fits into 32 1 times, leaving a remainder of 1.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Deduct 31 from 32 and we're left with 1.
Grab the next digit (0) from the dividend, add it to 1, then carry on: 10 / 31

Step 4:
31 goes into 10 0 times with a remainder of 10.
Write down 0 as next digit of the result. 
Result so far: 110.0
Subtracting 0 from 10 leaves us with 10.
Take the next digit (8) from the dividend and append it to 10, then repeat: 108 / 31

Going ahead to step 5:
31 goes into 108 3 times with a remainder of 15.
The next digit of our result is 3. 
Result so far: 1103.0
If we take 93 away from 108, we end up with 15.
Include the next digit (6) from the dividend after 15, then repeat: 156 / 31

Let's proceed to step 6:
The number 31 fits into 156 5 times, leaving a remainder of 1.
Put 5 as the next digit of the answer. 
Result so far: 11035.0
Subtracting 155 from 156 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.

Moving on to step 7:
The number 31 fits into 10 0 times, leaving a remainder of 10.
The number 0 becomes the next digit in our result. 
Result so far: 11035.0
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.

Moving on to step 8:
The number 31 fits into 100 3 times, leaving a remainder of 7.
Put 3 as the next digit of the answer. 
Result so far: 11035.03
Deduct 93 from 100 and we're left 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.

Let's proceed to step 9:
If we divide 70 by 31, we get 2 and a remainder of 8.
The number 2 becomes the next digit in our result. 
Result so far: 11035.032
Subtract 62 from 70 to get 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 10:
31 can be fit into 80 2 times, resulting in a remainder of 18.
The next digit of our result is 2. 
Result so far: 11035.0322
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.

After the division, we end up with 11035.0322 and a remainder of 0.00018.