We look at the division of 983042 by 31 
We want to figure out the number of times 983042 can be divided by 31.

Advancing to step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
The number 0 becomes the next digit in our result. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (8) from the dividend, add it to 9, then carry on: 98 / 31

Going ahead to step 2:
The number 31 fits into 98 3 times, leaving a remainder of 5.
Record the quotient 3 as the next digit in the result. 
Result so far: 3.0
Deduct 93 from 98 and we're left with 5.
Grab the next digit (3) from the dividend, add it to 5, then carry on: 53 / 31

Step 3:
53 divided by 31 is 1 with a remainder of 22.
Put 1 as the next digit of the answer. 
Result so far: 31.0
The remainder is 22 after subtracting 31 from 53.
Take the next digit (0) from the dividend and append it to 22, then repeat: 220 / 31

Going ahead to step 4:
The number 31 fits into 220 7 times, leaving a remainder of 3.
The number 7 becomes the next digit in our result. 
Result so far: 317.0
If we subtract 217 from 220, we get 3.
Take the next digit (4) from the dividend and append it to 3, then repeat: 34 / 31

Moving on to step 5:
If we divide 34 by 31, we get 1 and a remainder of 3.
Write down 1 as next digit of the result. 
Result so far: 3171.0
If we subtract 31 from 34, we get 3.
Include the next digit (2) from the dividend after 3, then repeat: 32 / 31

Advancing to step 6:
If we divide 32 by 31, we get 1 and a remainder of 1.
Write down 1 as next digit of the result. 
Result so far: 31711.0
Deduct 31 from 32 and we're left 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.

On to step 7:
31 goes into 10 0 times with a remainder of 10.
Put 0 as the next digit of the answer. 
Result so far: 31711.0
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.

Going ahead to step 8:
31 goes into 100 3 times with a remainder of 7.
Record the quotient 3 as the next digit in the result. 
Result so far: 31711.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:
When dividing 70 by 31, we get 2 with a remainder of 8.
The next digit of our result is 2. 
Result so far: 31711.032
Subtracting 62 from 70 leaves us with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Let's proceed to step 10:
If we divide 80 by 31, we get 2 and a remainder of 18.
Write down 2 as next digit of the result. 
Result so far: 31711.0322
Subtract 62 from 80 to get 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 31711.0322 and a remainder of 0.00018.