We're dividing 904077 by 31 
We want to figure out the number of times 904077 can be divided by 31.

Moving on to step 1:
If we divide 9 by 31, we get 0 and a remainder of 9.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtracting 0 from 9 leaves us with 9.
Grab the next digit (0) from the dividend, add it to 9, then carry on: 90 / 31

Step 2:
90 divided by 31 is 2 with a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 2.0
If we take 62 away from 90, we end up with 28.
Fetch the next digit (4) from the dividend, attach it to 28 and continue: 284 / 31

Moving on to step 3:
284 divided by 31 is 9 with a remainder of 5.
Record the quotient 9 as the next digit in the result. 
Result so far: 29.0
Subtracting 279 from 284 leaves us with 5.
Append the next digit (0) from the dividend to 5 and continue with: 50 / 31

Let's proceed to step 4:
When dividing 50 by 31, we get 1 with a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 291.0
The remainder is 19 after subtracting 31 from 50.
Fetch the next digit (7) from the dividend, attach it to 19 and continue: 197 / 31

Moving on to step 5:
The number 31 fits into 197 6 times, leaving a remainder of 11.
Put 6 as the next digit of the answer. 
Result so far: 2916.0
Subtracting 186 from 197 leaves us with 11.
Fetch the next digit (7) from the dividend, attach it to 11 and continue: 117 / 31

Advancing to step 6:
31 goes into 117 3 times with a remainder of 24.
Put 3 as the next digit of the answer. 
Result so far: 29163.0
Subtracting 93 from 117 leaves us with 24.
Since there are no more digits in the dividend, we add a zero to the remainder making it 240, and continue the process.

Moving on to step 7:
240 divided by 31 is 7 with a remainder of 23.
The next digit of our result is 7. 
Result so far: 29163.7
If we subtract 217 from 240, we get 23.
Since there are no more digits in the dividend, we add a zero to the remainder making it 230, and continue the process.

Advancing to step 8:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Use 7 as the next digit of our solution. 
Result so far: 29163.77
If we subtract 217 from 230, we get 13.
Since there are no more digits in the dividend, we add a zero to the remainder making it 130, and continue the process.

Our division results in 29163.77 with a remaining 0.013.