We divide 903161 by 31
We want to figure out the number of times 903161 can be divided by 31.

Going ahead to step 1:
The number 31 fits into 9 0 times, leaving a remainder of 9.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 9, we get 9.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 31

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

Moving on to step 3:
When dividing 283 by 31, we get 9 with a remainder of 4.
The next digit of our result is 9. 
Result so far: 29.0
Deduct 279 from 283 and we're left with 4.
Grab the next digit (1) from the dividend, add it to 4, then carry on: 41 / 31

Moving on to step 4:
If we divide 41 by 31, we get 1 and a remainder of 10.
The number 1 becomes the next digit in our result. 
Result so far: 291.0
If we subtract 31 from 41, we get 10.
Grab the next digit (6) from the dividend, add it to 10, then carry on: 106 / 31

Let's proceed to step 5:
31 can be fit into 106 3 times, resulting in a remainder of 13.
Record the quotient 3 as the next digit in the result. 
Result so far: 2913.0
Deduct 93 from 106 and we're left with 13.
Bring next digit (1) of the dividend behind the 13 and repeat the process: 131 / 31

Going ahead to step 6:
31 goes into 131 4 times with a remainder of 7.
Use 4 as the next digit of our solution. 
Result so far: 29134.0
Deduct 124 from 131 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.

On to step 7:
The number 31 fits into 70 2 times, leaving a remainder of 8.
The next digit of our result is 2. 
Result so far: 29134.2
The remainder is 8 after subtracting 62 from 70.
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 8:
If we divide 80 by 31, we get 2 and a remainder of 18.
The next digit of our result is 2. 
Result so far: 29134.22
Subtracting 62 from 80 leaves us 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 29134.22, with a leftover of 0.018.