36742 ÷ 31 
Let's see how many times 31 fits into 36742.

Step 1:
31 can be fit into 3 0 times, resulting in a remainder of 3.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (6) of the dividend behind the 3 and repeat the process: 36 / 31

Going ahead to step 2:
36 divided by 31 is 1 with a remainder of 5.
Write down 1 as next digit of the result. 
Result so far: 1.0
Subtracting 31 from 36 leaves us with 5.
Grab the next digit (7) from the dividend, add it to 5, then carry on: 57 / 31

Let's proceed to step 3:
31 can be fit into 57 1 times, resulting in a remainder of 26.
Put 1 as the next digit of the answer. 
Result so far: 11.0
Subtract 31 from 57 to get 26.
Take the next digit (4) from the dividend and append it to 26, then repeat: 264 / 31

Step 4:
31 goes into 264 8 times with a remainder of 16.
Use 8 as the next digit of our solution. 
Result so far: 118.0
Subtracting 248 from 264 leaves us with 16.
Append the next digit (2) from the dividend to 16 and continue with: 162 / 31

Advancing to step 5:
The number 31 fits into 162 5 times, leaving a remainder of 7.
Use 5 as the next digit of our solution. 
Result so far: 1185.0
If we subtract 155 from 162, 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.

Moving on to step 6:
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: 1185.2
If we subtract 62 from 70, we 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.

Moving on to step 7:
31 goes into 80 2 times with a remainder of 18.
Put 2 as the next digit of the answer. 
Result so far: 1185.22
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.

The final outcome is 1185.22, with a leftover of 0.018.