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

Let's proceed to step 1:
If we divide 9 by 138, 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.
Take the next digit (0) from the dividend and append it to 9, then repeat: 90 / 138

Going ahead to step 2:
138 goes into 90 0 times with a remainder of 90.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Deduct 0 from 90 and we're left with 90.
Bring next digit (4) of the dividend behind the 90 and repeat the process: 904 / 138

Let's proceed to step 3:
When dividing 904 by 138, we get 6 with a remainder of 76.
Record the quotient 6 as the next digit in the result. 
Result so far: 6.0
Deduct 828 from 904 and we're left with 76.
Append the next digit (7) from the dividend to 76 and continue with: 767 / 138

Advancing to step 4:
767 divided by 138 is 5 with a remainder of 77.
The number 5 becomes the next digit in our result. 
Result so far: 65.0
Deduct 690 from 767 and we're left with 77.
Fetch the next digit (1) from the dividend, attach it to 77 and continue: 771 / 138

Let's proceed to step 5:
771 divided by 138 is 5 with a remainder of 81.
Use 5 as the next digit of our solution. 
Result so far: 655.0
If we take 690 away from 771, we end up with 81.
Take the next digit (7) from the dividend and append it to 81, then repeat: 817 / 138

Moving on to step 6:
If we divide 817 by 138, we get 5 and a remainder of 127.
Put 5 as the next digit of the answer. 
Result so far: 6555.0
If we take 690 away from 817, we end up with 127.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1270, and continue the process.

Advancing to step 7:
138 goes into 1270 9 times with a remainder of 28.
Write down 9 as next digit of the result. 
Result so far: 6555.9
Subtracting 1242 from 1270 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.

Going ahead to step 8:
138 goes into 280 2 times with a remainder of 4.
Put 2 as the next digit of the answer. 
Result so far: 6555.92
The remainder is 4 after subtracting 276 from 280.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Let's proceed to step 9:
The number 138 fits into 40 0 times, leaving a remainder of 40.
The number 0 becomes the next digit in our result. 
Result so far: 6555.92
Deduct 0 from 40 and we're left with 40.
Since there are no more digits in the dividend, we add a zero to the remainder making it 400, and continue the process.

On to step 10:
138 goes into 400 2 times with a remainder of 124.
Use 2 as the next digit of our solution. 
Result so far: 6555.9202
Deduct 276 from 400 and we're left with 124.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1240, and continue the process.

Let's proceed to step 11:
If we divide 1240 by 138, we get 8 and a remainder of 136.
Put 8 as the next digit of the answer. 
Result so far: 6555.92028
If we take 1104 away from 1240, we end up with 136.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1360, and continue the process.

Going ahead to step 12:
When dividing 1360 by 138, we get 9 with a remainder of 118.
Write down 9 as next digit of the result. 
Result so far: 6555.920289
Subtracting 1242 from 1360 leaves us with 118.
Since there are no more digits in the dividend, we add a zero to the remainder making it 1180, and continue the process.

Going ahead to step 13:
138 can be fit into 1180 8 times, resulting in a remainder of 76.
The number 8 becomes the next digit in our result. 
Result so far: 6555.9202898
Deduct 1104 from 1180 and we're left with 76.
Since there are no more digits in the dividend, we add a zero to the remainder making it 760, and continue the process.

Step 14:
The number 138 fits into 760 5 times, leaving a remainder of 70.
The number 5 becomes the next digit in our result. 
Result so far: 6555.92028985
Subtracting 690 from 760 leaves us with 70.
Since there are no more digits in the dividend, we add a zero to the remainder making it 700, and continue the process.

After the division, we end up with 6555.92028985 and a remainder of 7e-08.