345713 divided by 31 
We're looking to find how many times 31 goes into 345713.

On to step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 3 leaves us with 3.
Grab the next digit (4) from the dividend, add it to 3, then carry on: 34 / 31

Moving on to step 2:
When dividing 34 by 31, we get 1 with a remainder of 3.
Record the quotient 1 as the next digit in the result. 
Result so far: 1.0
If we take 31 away from 34, we end up with 3.
Fetch the next digit (5) from the dividend, attach it to 3 and continue: 35 / 31

Going ahead to step 3:
The number 31 fits into 35 1 times, leaving a remainder of 4.
Use 1 as the next digit of our solution. 
Result so far: 11.0
Subtracting 31 from 35 leaves us with 4.
Grab the next digit (7) from the dividend, add it to 4, then carry on: 47 / 31

Going ahead to step 4:
If we divide 47 by 31, we get 1 and a remainder of 16.
Write down 1 as next digit of the result. 
Result so far: 111.0
Deduct 31 from 47 and we're left with 16.
Take the next digit (1) from the dividend and append it to 16, then repeat: 161 / 31

Advancing to step 5:
When dividing 161 by 31, we get 5 with a remainder of 6.
The next digit of our result is 5. 
Result so far: 1115.0
Subtract 155 from 161 to get 6.
Bring next digit (3) of the dividend behind the 6 and repeat the process: 63 / 31

Moving on to step 6:
When dividing 63 by 31, we get 2 with a remainder of 1.
Record the quotient 2 as the next digit in the result. 
Result so far: 11152.0
If we subtract 62 from 63, 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.

Let's proceed to step 7:
31 can be fit into 10 0 times, resulting in a remainder of 10.
The next digit of our result is 0. 
Result so far: 11152.0
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.

On to step 8:
31 can be fit into 100 3 times, resulting in a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 11152.03
If we subtract 93 from 100, we get 7.
Since there are no more digits in the dividend, we add a zero to the remainder making it 70, and continue the process.

Going ahead to step 9:
31 can be fit into 70 2 times, resulting in a remainder of 8.
Put 2 as the next digit of the answer. 
Result so far: 11152.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:
When dividing 80 by 31, we get 2 with a remainder of 18.
Record the quotient 2 as the next digit in the result. 
Result so far: 11152.0322
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.

The quotient of the division is 11152.0322, and the remainder is 0.00018.