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

Moving on to step 1:
3 divided by 31 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Deduct 0 from 3 and we're left with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 31

Going ahead to step 2:
31 can be fit into 33 1 times, resulting in a remainder of 2.
Put 1 as the next digit of the answer. 
Result so far: 1.0
If we take 31 away from 33, we end up with 2.
Fetch the next digit (7) from the dividend, attach it to 2 and continue: 27 / 31

On to step 3:
27 divided by 31 is 0 with a remainder of 27.
Record the quotient 0 as the next digit in the result. 
Result so far: 10.0
Subtracting 0 from 27 leaves us with 27.
Append the next digit (5) from the dividend to 27 and continue with: 275 / 31

Moving on to step 4:
31 goes into 275 8 times with a remainder of 27.
Use 8 as the next digit of our solution. 
Result so far: 108.0
The remainder is 27 after subtracting 248 from 275.
Grab the next digit (4) from the dividend, add it to 27, then carry on: 274 / 31

On to step 5:
31 can be fit into 274 8 times, resulting in a remainder of 26.
Write down 8 as next digit of the result. 
Result so far: 1088.0
Subtract 248 from 274 to get 26.
Grab the next digit (2) from the dividend, add it to 26, then carry on: 262 / 31

Advancing to step 6:
The number 31 fits into 262 8 times, leaving a remainder of 14.
The number 8 becomes the next digit in our result. 
Result so far: 10888.0
Subtracting 248 from 262 leaves us with 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Let's proceed to step 7:
If we divide 140 by 31, we get 4 and a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 10888.4
Subtract 124 from 140 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 8:
31 can be fit into 160 5 times, resulting in a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 10888.45
Deduct 155 from 160 and we're left 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.

Moving on to step 9:
When dividing 50 by 31, we get 1 with a remainder of 19.
Record the quotient 1 as the next digit in the result. 
Result so far: 10888.451
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.

Step 10:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The next digit of our result is 6. 
Result so far: 10888.4516
Subtracting 186 from 190 leaves us 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.

On to step 11:
40 divided by 31 is 1 with a remainder of 9.
Record the quotient 1 as the next digit in the result. 
Result so far: 10888.45161
Subtracting 31 from 40 leaves us with 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Let's proceed to step 12:
If we divide 90 by 31, we get 2 and a remainder of 28.
Write down 2 as next digit of the result. 
Result so far: 10888.451612
Subtracting 62 from 90 leaves us with 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

Advancing to step 13:
When dividing 280 by 31, we get 9 with a remainder of 1.
Record the quotient 9 as the next digit in the result. 
Result so far: 10888.4516129
If we subtract 279 from 280, 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.

Step 14:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 10888.4516129
If we subtract 0 from 10, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

The final outcome is 10888.4516129, with a leftover of 1e-08.