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

Step 1:
When dividing 3 by 77, we get 0 with a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we subtract 0 from 3, we get 3.
Bring next digit (1) of the dividend behind the 3 and repeat the process: 31 / 77

Moving on to step 2:
31 divided by 77 is 0 with a remainder of 31.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtracting 0 from 31 leaves us with 31.
Grab the next digit (8) from the dividend, add it to 31, then carry on: 318 / 77

Going ahead to step 3:
The number 77 fits into 318 4 times, leaving a remainder of 10.
Use 4 as the next digit of our solution. 
Result so far: 4.0
Subtracting 308 from 318 leaves us with 10.
Bring next digit (0) of the dividend behind the 10 and repeat the process: 100 / 77

Going ahead to step 4:
The number 77 fits into 100 1 times, leaving a remainder of 23.
The number 1 becomes the next digit in our result. 
Result so far: 41.0
The remainder is 23 after subtracting 77 from 100.
Append the next digit (0) from the dividend to 23 and continue with: 230 / 77

Let's proceed to step 5:
The number 77 fits into 230 2 times, leaving a remainder of 76.
Use 2 as the next digit of our solution. 
Result so far: 412.0
Subtract 154 from 230 to get 76.
Bring next digit (4) of the dividend behind the 76 and repeat the process: 764 / 77

Moving on to step 6:
When dividing 764 by 77, we get 9 with a remainder of 71.
The number 9 becomes the next digit in our result. 
Result so far: 4129.0
The remainder is 71 after subtracting 693 from 764.
Since there are no more digits in the dividend, we add a zero to the remainder making it 710, and continue the process.

Moving on to step 7:
The number 77 fits into 710 9 times, leaving a remainder of 17.
Record the quotient 9 as the next digit in the result. 
Result so far: 4129.9
If we take 693 away from 710, we end up with 17.
Since there are no more digits in the dividend, we add a zero to the remainder making it 170, and continue the process.

Let's proceed to step 8:
The number 77 fits into 170 2 times, leaving a remainder of 16.
The next digit of our result is 2. 
Result so far: 4129.92
Subtract 154 from 170 to get 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

Let's proceed to step 9:
If we divide 160 by 77, we get 2 and a remainder of 6.
Write down 2 as next digit of the result. 
Result so far: 4129.922
If we subtract 154 from 160, we get 6.
Since there are no more digits in the dividend, we add a zero to the remainder making it 60, and continue the process.

The quotient of the division is 4129.922, and the remainder is 0.0006.