Let's divide 147004 by 31
We're looking to find how many times 31 goes into 147004.

Let's proceed to step 1:
When dividing 1 by 31, we get 0 with a remainder of 1.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 1, we end up with 1.
Include the next digit (4) from the dividend after 1, then repeat: 14 / 31

Step 2:
When dividing 14 by 31, we get 0 with a remainder of 14.
Write down 0 as next digit of the result. 
Result so far: 0.0
Subtracting 0 from 14 leaves us with 14.
Fetch the next digit (7) from the dividend, attach it to 14 and continue: 147 / 31

Step 3:
The number 31 fits into 147 4 times, leaving a remainder of 23.
The next digit of our result is 4. 
Result so far: 4.0
Deduct 124 from 147 and we're left with 23.
Fetch the next digit (0) from the dividend, attach it to 23 and continue: 230 / 31

Advancing to step 4:
The number 31 fits into 230 7 times, leaving a remainder of 13.
Put 7 as the next digit of the answer. 
Result so far: 47.0
If we take 217 away from 230, we end up with 13.
Bring next digit (0) of the dividend behind the 13 and repeat the process: 130 / 31

Moving on to step 5:
If we divide 130 by 31, we get 4 and a remainder of 6.
Use 4 as the next digit of our solution. 
Result so far: 474.0
Subtract 124 from 130 to get 6.
Fetch the next digit (4) from the dividend, attach it to 6 and continue: 64 / 31

On to step 6:
The number 31 fits into 64 2 times, leaving a remainder of 2.
Put 2 as the next digit of the answer. 
Result so far: 4742.0
Subtracting 62 from 64 leaves us with 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

Advancing to step 7:
31 can be fit into 20 0 times, resulting in a remainder of 20.
Use 0 as the next digit of our solution. 
Result so far: 4742.0
Subtract 0 from 20 to get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Advancing to step 8:
31 goes into 200 6 times with a remainder of 14.
The number 6 becomes the next digit in our result. 
Result so far: 4742.06
Subtract 186 from 200 to get 14.
Since there are no more digits in the dividend, we add a zero to the remainder making it 140, and continue the process.

Step 9:
31 can be fit into 140 4 times, resulting in a remainder of 16.
Write down 4 as next digit of the result. 
Result so far: 4742.064
Subtracting 124 from 140 leaves us with 16.
Since there are no more digits in the dividend, we add a zero to the remainder making it 160, and continue the process.

On to step 10:
When dividing 160 by 31, we get 5 with a remainder of 5.
Write down 5 as next digit of the result. 
Result so far: 4742.0645
If we take 155 away from 160, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Going ahead to step 11:
31 can be fit into 50 1 times, resulting in a remainder of 19.
Put 1 as the next digit of the answer. 
Result so far: 4742.06451
Subtracting 31 from 50 leaves us with 19.
Since there are no more digits in the dividend, we add a zero to the remainder making it 190, and continue the process.

Step 12:
31 can be fit into 190 6 times, resulting in a remainder of 4.
The number 6 becomes the next digit in our result. 
Result so far: 4742.064516
Deduct 186 from 190 and we're left with 4.
Since there are no more digits in the dividend, we add a zero to the remainder making it 40, and continue the process.

Advancing to step 13:
31 goes into 40 1 times with a remainder of 9.
Use 1 as the next digit of our solution. 
Result so far: 4742.0645161
Subtract 31 from 40 to get 9.
Since there are no more digits in the dividend, we add a zero to the remainder making it 90, and continue the process.

Advancing to step 14:
If we divide 90 by 31, we get 2 and a remainder of 28.
Put 2 as the next digit of the answer. 
Result so far: 4742.06451612
Subtract 62 from 90 to get 28.
Since there are no more digits in the dividend, we add a zero to the remainder making it 280, and continue the process.

The quotient of the division is 4742.06451612, and the remainder is 2.8e-08.